![]() |
#1 |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
Is there a way to Convert Jpgs to Webp
Can Calibre or a Calibre plugin convert jpgs to webp instead of compressing jpgs. I know I can polish losslessly or edit the book to choose compression level but I have software to compress cbz jpg, png files to webp and it really saves lots of space.
I have a 30mb epub, 28mb are the jpg image files, I converted them losslessly to webp format and they're around 3mb. If Calibre can't do it does anyone know of other software I might d/l to do it? |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,985
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
One issue is if the software you are using to read your ebooks is able to display WebP images. Most ereaders and quite a few applications I've tried are not happy with WebP images.
For ePub2/3, png, jpg/jpeg, gif and svg are the only supported image formats. As for that space saving on conversion, my testing has never managed close to the ~90% reduction in file size you show when converting jpb to WebP. The average saved was closer to 25% when I choose to maintain image quality. Oddly, using lossless recompression on the .jpg can give close to the same reduction in size depending on the original image. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
Thanks for the reply
Quote:
As far as image reduction size, I was surprised as well that it was 90% reduction, as I had the compression set to 100%, usually converting CBZ files it'll reduce to about 66% loselessly, but my monitor is 1080p so anything more that that is really a waste. |
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,711
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
Thanks BetterRed, I know how to convert the images, but then the HTML needs to be edited, I can do it by hand but I have a lot Light Novels that take up a lot of space I was looking for something then can convert images and also update the appropriate files to change the links from ex. pic1.jpg to pic1.webp
I guess not many people care about this because most fiction ebooks don't have a lot of images, maybe that's why no one has automated a solution. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
WebP mostly will only work on desktop. |
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just rename all the files in the calibre editor to webp. It will change the links for you. Then use the unpack book tool to replace the renamed files with actual webp images using whatever tool you like.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
|
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,680
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
How is converting to webp going to make any real difference?
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
|
|
![]() |
![]() |
![]() |
#12 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Why does the file size matter then?
7 year old laptop has 512G Old Optiplex 7050 mini has 512G SSD and 4T HDD The 21 year old laptop has 120G + additional 80G added in the spare media bay New laptop has 256 G SSD and 1T HDD. My getting old Lenovo Tablet has 256G microSD card. It's not like putting your entire DVD collection on a mini-PC. I saw a 6T drive for €155 today. I'd worry a little about file sizes if it was a PW3 or similar era of 4G only storage ereader. My current eink ereaders are 32G and at about 5,000 ebooks there is still 18.3G byte free. Last edited by Quoth; 04-10-2023 at 03:23 PM. |
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,680
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#14 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,031
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
NAS grade 12T under $200
I upgraded my laptop to 512G SSD for $60 |
![]() |
![]() |
![]() |
#15 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Storage is very cheap now. I remember paying £££ for a 5 MByte HDD for the Apple II |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
webp image handling | Turtle91 | Sigil | 4 | 08-28-2022 03:41 PM |
calibre and .webp | carmenchu | Calibre | 10 | 05-07-2020 11:36 AM |
What about webp images? | carmenchu | Sigil | 8 | 10-27-2019 03:29 AM |
Aura Comic cbr with WebP images | matteo.piccioni | Kobo Reader | 8 | 04-08-2017 09:23 AM |