[
https://issues.apache.org/jira/browse/TIKA-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109516#comment-18109516
]
Hudson commented on TIKA-4852:
------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk17 #1596 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1596/])
TIKA-4852: EpubParser emits the OPF cover image as a THUMBNAIL embedded
document (#3093) (github:
[https://github.com/apache/tika/commit/a8b354f27fb2a229c7ca4bfeebe3c62c010cdb58])
* (edit)
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/epub/EpubParser.java
* (edit)
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/epub/EpubParserTest.java
* (edit) CHANGES.txt
> EpubParser: mark the cover image as a THUMBNAIL embedded resource
> -----------------------------------------------------------------
>
> Key: TIKA-4852
> URL: https://issues.apache.org/jira/browse/TIKA-4852
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Reporter: Dominik Schmidt
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 4.1.0
>
>
> EpubParser emits every image of the package as an untyped embedded document,
> in manifest order. The OPF names the cover, though: EPUB 3 via
> properties="cover-image" on the manifest item, EPUB 2 via <meta name="cover"
> content="<item id>"/>. Neither is read (OPFParser has no notion of a cover),
> so a client that wants the representative image of an EPUB has to guess.
> Proposal: resolve the cover item from the OPF (properties first, then the
> meta fallback) and emit it with tk:embedded-resource-type=THUMBNAIL, like the
> preview image of the other container formats (ODF, OOXML, iWork, GeoGebra,
> audio cover art as of TIKA-4850). Other images keep their current handling.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)