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 2026/09/03 21:36:00 UTC

[jira] [Resolved] (TIKA-4870) HeifParser should accept image/avif

     [ https://issues.apache.org/jira/browse/TIKA-4870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-4870.
-------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> 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
>             Fix For: 4.1.0
>
>
> 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)