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

Tim Allison commented on TIKA-2451:
-----------------------------------

It looks like this was (fairly) recently added to drewnoakes' 
metadata-extractor: [version 
2.10.0|https://github.com/drewnoakes/metadata-extractor/releases/tag/2.10.0] 
included [support for multipage 
tiffs|https://github.com/drewnoakes/metadata-extractor/pull/228].

When I bumped the version up to the latest, I get the following for your file: 
{{Page Number : 9 10}}.

My guess from 
[this|http://www.awaresystems.be/imaging/tiff/tifftags/pagenumber.html] is that 
9 (0 index) is the last page number and 10 is the total number of pages.  
Should we normalize (split on " " and take the second) ?

As a side note, I confirmed that tesseract is pulling text out of all the 
pages. W00t!

{noformat}

TIFF
Example
Page 1

Multipage
TIFF
Example
Page 2

Multipage
TIFF
Example
Page 3

Multipage
TIFF
Example
Page4

Multipage
TIFF
Example
Page 5

Multipage
TIFF
Example
Page 6

Multipage
TIFF
Example
Page 7

Multipage
TIFF
Example
Page 8

Multipage
TIFF
Example
Page 9

Multipage
TIFF

Example

Page 10
{noformat}



> Detect image frame counts for tiff files
> ----------------------------------------
>
>                 Key: TIKA-2451
>                 URL: https://issues.apache.org/jira/browse/TIKA-2451
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>            Reporter: Mike Cantrell
>            Priority: Minor
>         Attachments: multipage_tiff_example.tif
>
>
> It would be useful to know the number of frames in a multi-page tiff image. 
> My apologies if this already exists but I could not locate it in any of the 
> existing metadata output. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to