Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-09-2023, 06:08 PM   #1
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
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?
kevn57 is offline   Reply With Quote
Old 04-09-2023, 06:44 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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.
DNSB is offline   Reply With Quote
Advert
Old 04-09-2023, 08:09 PM   #3
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Thanks for the reply

Quote:
Originally Posted by DNSB View Post
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 tried Calibre Viewer which is the main software that I use to read epubs with and also SumatraPDF my quick view epub reader and both work with webp images.

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.
kevn57 is offline   Reply With Quote
Old 04-09-2023, 09:32 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,711
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kevn57 View Post
If Calibre can't do it does anyone know of other software I might d/l to do it?
On Windows IrfanView, viz:

Click image for larger version

Name:	Screenshot 2023-04-10 112232.jpg
Views:	104
Size:	48.0 KB
ID:	200915

BR
BetterRed is offline   Reply With Quote
Old 04-10-2023, 05:26 AM   #5
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
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.
kevn57 is offline   Reply With Quote
Advert
Old 04-10-2023, 05:36 AM   #6
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by kevn57 View Post
I tried Calibre Viewer which is the main software that I use to read epubs with and also SumatraPDF my quick view epub reader and both work with webp images.
Desktop viewing is unrelated to eink based ereaders and most apps on iOS and Android. I only use the desktop to check TOC and all links work.

WebP mostly will only work on desktop.
Quoth is offline   Reply With Quote
Old 04-10-2023, 06:05 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 04-10-2023, 07:44 AM   #8
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Quote:
Originally Posted by kovidgoyal View Post
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.
Thanks that's just exactly what I wanted.
kevn57 is offline   Reply With Quote
Old 04-10-2023, 07:52 AM   #9
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Quote:
Originally Posted by Quoth View Post
Desktop viewing is unrelated to eink based ereaders and most apps on iOS and Android. I only use the desktop to check TOC and all links work.

WebP mostly will only work on desktop.
Thanks, yeah I mostly read on my 1080p TV, through my minipc.
kevn57 is offline   Reply With Quote
Old 04-10-2023, 08:53 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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?
JSWolf is offline   Reply With Quote
Old 04-10-2023, 02:42 PM   #11
kevn57
Connoisseur
kevn57 began at the beginning.
 
kevn57's Avatar
 
Posts: 93
Karma: 10
Join Date: Jun 2011
Location: Albany NY
Device: Moonreader+
Quote:
Originally Posted by JSWolf View Post
How is converting to webp going to make any real difference?
The webp files are much smaller then jpg while same quality.
kevn57 is offline   Reply With Quote
Old 04-10-2023, 03:19 PM   #12
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by kevn57 View Post
Thanks, yeah I mostly read on my 1080p TV, through my minipc.
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.
Quoth is offline   Reply With Quote
Old 04-10-2023, 03:39 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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
Quote:
Originally Posted by kevn57 View Post
Thanks, yeah I mostly read on my 1080p TV, through my minipc.
webp images are going to make no difference on your TV screen then JPG images. Your webp won't be of any better quality.

Are you that strapped for space that you need every byte you can get?
JSWolf is offline   Reply With Quote
Old 04-10-2023, 03:42 PM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Old 04-10-2023, 06:09 PM   #15
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
NAS grade 12T under $200

I upgraded my laptop to 512G SSD for $60
Probably nearly €200 + VAT here, but still cheap. A 1/3rd tank of petrol was €20 today and I spent €106 on 11 off 1m x 8mm alloy tubes.

Storage is very cheap now. I remember paying £££ for a 5 MByte HDD for the Apple II
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:49 PM.


MobileRead.com is a privately owned, operated and funded community.