Quote:
Originally Posted by kevn57
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.
|
Easiest way is to rename all the .jpg files to .webp in Sigil or the calibre editor. This will change the names in the HTML files. Save the epub and then open it with your favoured zip file utility. Copy the .webp files out, rename them to .jpg, convert to webp and copy the .webp files back into the epub.