You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2023/03/22 15:15:00 UTC

[jira] [Comment Edited] (TIKA-3991) Improve file detection for canon-raw (crw), cr2 and cr3

    [ https://issues.apache.org/jira/browse/TIKA-3991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703708#comment-17703708 ] 

Tim Allison edited comment on TIKA-3991 at 3/22/23 3:14 PM:
------------------------------------------------------------

See also: https://github.com/drewnoakes/metadata-extractor/blob/master/Source/com/drew/imaging/FileTypeDetector.java for crw and cr2

See https://github.com/drewnoakes/metadata-extractor/blob/master/Source/com/drew/imaging/quicktime/QuickTimeTypeChecker.java for cr3 (should probably expand our qt detection, too)


was (Author: tallison@mitre.org):
See also: https://github.com/drewnoakes/metadata-extractor/blob/master/Source/com/drew/imaging/FileTypeDetector.java for crw and cr2

See https://jar-download.com/artifacts/org.tallison/metadata-extractor/2.15.0.0/source-code/com/drew/imaging/quicktime/QuickTimeTypeChecker.java for cr3 (should probably expand our qt detection, too)

> Improve file detection for canon-raw (crw), cr2 and cr3
> -------------------------------------------------------
>
>                 Key: TIKA-3991
>                 URL: https://issues.apache.org/jira/browse/TIKA-3991
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>
> There are three file formats here under "canon raw":
> crw -- ciff based
> cr2 -- tiff based
> cr3 -- mpeg based
> We need to figure out what mimes we want to use for each of these and add byte-level detection for them.
> There's some complexity in that we'd like them all to subtype canon raw (I think?), but the cr2 and cr3 are based on completely different file formats.
> Some references:
> https://exiftool.org/canon_raw.html
> http://fileformats.archiveteam.org/wiki/CR2
> https://github.com/lclevy/canon_cr3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)