[
https://issues.apache.org/jira/browse/TIKA-4854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109396#comment-18109396
]
ASF GitHub Bot commented on TIKA-4854:
--------------------------------------
dschmidt opened a new pull request, #3094:
URL: https://github.com/apache/tika/pull/3094
IWork13PackageParser already emits `preview.jpg` as the THUMBNAIL embedded
document; the two other iWork package parsers emitted no embedded documents at
all. Now the '09 parser emits `QuickLook/Thumbnail.jpg` (Pages, Numbers and
Keynote carry it): the package is read as a stream, so the preview is held back
until the content is written, then emitted. The '18 parser, which only detected
the type so far, emits the package's `preview.jpg`. The '18 fixture was saved
without a preview, so its test adds one to a copy.
https://issues.apache.org/jira/browse/TIKA-4854
> Emit the preview image of iWork '09 and iWork '18 packages as a THUMBNAIL
> embedded resource
> -------------------------------------------------------------------------------------------
>
> Key: TIKA-4854
> URL: https://issues.apache.org/jira/browse/TIKA-4854
> Project: Tika
> Issue Type: Improvement
> Reporter: Dominik Schmidt
> Priority: Major
>
> IWork13PackageParser emits preview.jpg as a THUMBNAIL embedded document. The
> two other iWork package parsers do not emit any embedded documents:
> IWorkPackageParser (iWork '09, QuickLook/Thumbnail.jpg) only parses the index
> XML, and IWork18PackageParser only detects the media type although the
> package carries preview.jpg as well. Both previews should be emitted as
> THUMBNAIL like the '13 one, so a client gets the representative image of
> every iWork file the same way.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)