Skip to content

EPUBCheck rejects WebP used for cover images #1484

Closed

Description

@rdeltour

From @ways2read:

From my interpretation of the 3.3 spec, specifically at https://w3c.github.io/epub-specs/epub33/core/#sec-cover-image it should be possible to use a webp image for the cover.

In my manifest I have

   <item id="cover_webp" href="media/cover.webp" media-type="image/webp"  properties="cover-image"/>

But EPUBCheck 5.0.0-beta-2 reports:

Validating using EPUB version 3.3 rules.
ERROR(OPF-012): test.epub/EPUB/content.opf(-1,-1): Item property "cover-image" is not defined for media type "image/webp".

Check finished with errors
Messages: 0 fatals / 1 error / 0 warnings / 0 infos

Looks like a bug with EPUBCheck.

Activity

  1. self-assigned this
    on Feb 3, 2023
  2. added
    priority: highTo be processed and published in the next release
    type: false-positiveThis issue is about valid content being incorrectly rejected
    status: needs test caseA reproducible test case is needed to move the issue forward
    on Feb 3, 2023
  3. added a commit that references this issue on Apr 28, 2023
    199da0b
  4. added
    status: has PRThe issue is being processed in a pull request
    and removed
    status: needs test caseA reproducible test case is needed to move the issue forward
    on Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: highTo be processed and published in the next releasestatus: has PRThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejected

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址