[
https://issues.apache.org/jira/browse/TIKA-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18138807#comment-18138807
]
ASF GitHub Bot commented on TIKA-5032:
--------------------------------------
tballison commented on PR #3530:
URL: https://github.com/apache/tika/pull/3530#issuecomment-6660165440
merge upstream and a small tweak. lemme know if you have objections.
> Extract the preview image of zip-based formats (comics, Krita, OpenRaster,
> Procreate, Sketch, FreeCAD, 3MF)
> -----------------------------------------------------------------------------------------------------------
>
> Key: TIKA-5032
> URL: https://issues.apache.org/jira/browse/TIKA-5032
> Project: Tika
> Issue Type: Improvement
> Components: mime, parser
> Reporter: Dominik Schmidt
> Priority: Major
>
> These formats are zip containers that carry a ready-made preview at a fixed
> path:
> * {{.cbz}}: first image in name order
> * {{.kra}}: {{preview.png}}
> * {{.ora}}: {{Thumbnails/thumbnail.png}}
> * {{.procreate}}: {{QuickLook/Thumbnail.png}}
> * {{.sketch}}: {{previews/preview.png}}
> * {{.FCStd}}: {{thumbnails/Thumbnail.png}}
> * {{.3mf}}: {{Metadata/thumbnail.png}}
> Detect them and emit that image as the THUMBNAIL embedded resource, so
> {{/unpack/preset/thumbnail}} serves it. Several have no media type in
> tika-mimetypes.xml yet (shared-mime-info has
> {{application/vnd.comicbook+zip}}, {{application/x-krita}},
> {{image/openraster}}). For 3MF see TIKA-5031.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)