![]() |
#1 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#2 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
but supported in many apps? Not really. I wrote a bit about it the last time it was brought up: Quote:
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. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,761
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. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,761
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. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |