Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2022, 10:41 AM   #1
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,348
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
webp image handling

Hi all -
More and more images online are provided in .webp format. Up 'till now I've just been converting them to .jpg (other than it is an 'optimized' format, I haven't researched the benefit of .webp yet).

This morning I added it to an ePub in Sigil. It imported easily and displays fine on the preview pane. However, when I ran the ePubCheck plugin it gave me an error: "A manifest fallback must be provided for image resource 'OEBPS/Images...' of type "image/webp". I have the image listed in the manifest with 'media-type="image/webp" ' (which Sigil did automatically).

Is webp (still?) a candidate format for the ePub spec or has it even been adopted in readers/apps???

Is there something else I need to do to make ePubCheck happy?

Cheers,

edit: ePubCheck also works in Calibre (I think) so this may be tangentially Sigil related.... If it would do better in the ePub forum could someone please move it?
Turtle91 is offline   Reply With Quote
Old 08-28-2022, 01:58 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
Is webp (still?) a candidate format for the ePub spec or has it even been adopted in readers/apps???
It's been "allowed" in EPUB3 since 2020:

but supported in many apps? Not really.

I wrote a bit about it the last time it was brought up:

Quote:
Originally Posted by Turtle91 View Post
More and more images online are provided in .webp format. Up 'till now I've just been converting them to .jpg (other than it is an 'optimized' format, I haven't researched the benefit of .webp yet).
It has some benefits (like smaller filesize + less ringing compared to JPG), but has slight downsides too (like much smoother).

Google pushed it incredibly hard, which is why much of the web has supported it.

But, in ebooks, for maximum support, it's still best to use good ol' JPG, PNG, (or GIF).

Last edited by Tex2002ans; 08-28-2022 at 02:10 PM.
Tex2002ans is offline   Reply With Quote
Advert
Old 08-28-2022, 02:13 PM   #3
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I get the EpubCheck error of a fallback being needed for webp for EPUB 2 books, but not for EPUB 3. That makes sense to me.
jhowell is online now   Reply With Quote
Old 08-28-2022, 03:29 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
Support for it was added in the Epub 3.3 spec. Sigil already recognizes it. So any differences are either epub2 vs epub3 or are due to differences in versions of epubcheck.

Support added to Sigil in this commit in Sigil in Feb of 2021:
https://github.com/Sigil-Ebook/Sigil...192330f8f2f4cf

Last edited by KevinH; 08-28-2022 at 03:33 PM.
KevinH is offline   Reply With Quote
Old 08-28-2022, 03:41 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
And for what it is worth, the Epub 3.3 spec is still just a recommended draft and not final given this link:

https://www.w3.org/TR/epub-33/

So only web engine based readers probably handle it (if they are using a recent version). It is probably not supported on non-web engine based readers like RMSDK, etc.

So if you care about wide compatibility I would stick with jpg.
KevinH is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image handling from imported DOCX/ODT STrRedWolf Conversion 3 05-09-2021 12:32 AM
calibre and .webp carmenchu Calibre 10 05-07-2020 11:36 AM
CALIBRE vs iPad image handling Sail_Dive_&_Fly Calibre 4 01-13-2014 04:40 AM
Image handling - XGA 1024*768, full page etc trevorburdon Workshop 15 03-07-2013 06:07 PM
Odyssey PDF/image handling + Sync + Why Bookeen do you prefer Bookeen flips01 Bookeen 4 12-09-2012 06:16 PM


All times are GMT -4. The time now is 07:12 AM.


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