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

Hudson commented on TIKA-4776:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-branch_3x-jdk11 #2530 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-branch_3x-jdk11/2530/])
TIKA-4776: Add regression test for Apple maker note LONG8 tags (#2981) (tilman: 
[https://github.com/apache/tika/commit/17f77f46b4e2449e2808940b7f67475146711ed9])
* (add) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/resources/test-documents/testHEIC_livePhoto.heic
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/java/org/apache/tika/parser/image/HeifParserTest.java
TIKA-4776: adjust cherrypick for 3.0 branch (tilman: 
[https://github.com/apache/tika/commit/5ab67f8869029469ad8779d624fb1c137f6d50d0])
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/java/org/apache/tika/parser/image/HeifParserTest.java


> Apple maker note tags written as LONG8 are dropped
> --------------------------------------------------
>
>                 Key: TIKA-4776
>                 URL: https://issues.apache.org/jira/browse/TIKA-4776
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Dominik Schmidt
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 4.0.0, 3.3.3
>
>
> Apple maker notes in HEIC/JPEG images store several tags as LONG8 (TIFF
> format code 16), e.g. the Live Photo video index (tag 0x0017). Example:
> for a Live Photo still taken with an iPhone 15 Pro on iOS 18.5, tag
> 0x0017 is written with format code 16 and value 5283876.
> The bundled metadata-extractor (2.20.0) only decodes the classic TIFF
> format codes 1-12 and drops such tags, so Tika never emits
> "img:Live Photo ID" even though metadata-extractor's
> AppleMakernoteDirectory defines the tag name. Only the content
> identifier ("img:Content Identifier", stored as a plain string) comes
> through today.
> This matters for pairing Apple Live Photos: the still image and the
> QuickTime video share a content identifier (the video side is covered
> by TIKA-2861), and the Live Photo video index is the image-side marker
> that reliably identifies a still as part of a Live Photo (whereas just 
> "Content Identifier" seems to be a bit weak).
> This is fixed upstream in metadata-extractor:
> [https://github.com/drewnoakes/metadata-extractor/issues/738]
> [https://github.com/drewnoakes/metadata-extractor/pull/739]
> Verified end-to-end with a patched metadata-extractor build: Tika then
> emits both "img:Content Identifier" and "img:Live Photo ID" for a real
> Live Photo HEIC, with no Tika code change required.
> Once a metadata-extractor release containing the fix is available, the
> dependency (metadata.extractor.version in tika-parent) needs a bump.
> It would be great to add a regression test then.



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

Reply via email to