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

Hudson commented on TIKA-4870:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk17 #1609 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1609/])
TIKA-4870: Parse AVIF, do not only detect it (#3116) (github: 
[https://github.com/apache/tika/commit/e505b4aa21544fd045bb1781466f1e40ce581348])
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/main/java/org/apache/tika/parser/image/HeifParser.java
* (add) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/resources/test-documents/testAVIF_XMP.avif
* (edit) CHANGES.txt
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/java/org/apache/tika/parser/image/HeifParserTest.java


> HeifParser should accept image/avif
> -----------------------------------
>
>                 Key: TIKA-4870
>                 URL: https://issues.apache.org/jira/browse/TIKA-4870
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Dominik Schmidt
>            Priority: Major
>
> AVIF files reach no parser today. HeifParser claims image/heif, 
> image/heif-sequence, image/heic and image/heic-sequence, nothing else in 
> tika-parsers claims image/avif, and its mime entry declares no sub-class-of 
> image/heif, so an AVIF is detected and then handed to no one: no dimensions, 
> no EXIF, no XMP. Detection was added in TIKA-3193 and nothing ever picked it 
> up for parsing.
> The container is the same ISO-BMFF and the metadata sits in the same places. 
> HeifXmp locates XMP generically through meta/iinf/iloc, which is where AVIF 
> puts it as well, and metadata-extractor reads HEIF item properties for AVIF 
> too, so adding MediaType.image("avif") to the parser's supported types is 
> most of the work; what it needs is a fixture and a check of which properties 
> actually come out.
> Once that is in, the Motion Photo work from TIKA-4869 should be checked 
> against it: AVIF is one of the three primary image formats the Motion Photo 
> format allows, alongside JPEG and HEIC, and its video sits in the same 
> trailing mpvd box, so the same code should emit it. There is no test for that 
> today.
> Detection of animated AVIF is a separate question and is tracked in TIKA-4509.



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

Reply via email to