You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, when using the recent metadata-extractor 2.19, an MWE similar to one in that issue,
Metadata m = ImageMetadataReader.readMetadata(new File("color-pages-jpg.tif"));
for (Directory d : m.getDirectories()) {
for (Tag t : d.getTags()) {
System.out.println(t);
}
}
reveals only a single IFD0 (the first page) plus a single thumbnail (the third page):
[Exif IFD0] Image Width - 432 pixels
[Exif IFD0] Image Height - 585 pixels
[Exif IFD0] Bits Per Sample - 8 8 8 bits/component/pixel
[Exif IFD0] Compression - JPEG
[Exif IFD0] Photometric Interpretation - YCbCr
[Exif IFD0] Strip Offsets - 8 26663 60855 92871
[Exif IFD0] Orientation - Top, left side (Horizontal / normal)
[Exif IFD0] Samples Per Pixel - 3 samples/pixel
[Exif IFD0] Rows Per Strip - 160 rows/strip
[Exif IFD0] Strip Byte Counts - 26655 34192 32016 14087 bytes
[Exif IFD0] X Resolution - 72 dots per inch
[Exif IFD0] Y Resolution - 72 dots per inch
[Exif IFD0] Planar Configuration - Chunky (contiguous for each subsampling pixel)
[Exif IFD0] Resolution Unit - Inch
[Exif IFD0] Software - IrfanView
[Exif IFD0] JPEG Tables - [574 values]
[Exif IFD0] YCbCr Sub-Sampling - YCbCr4:2:0
[Exif IFD0] Reference Black/White - [0,128,128] [255,255,255]
[Exif Thumbnail] Image Width - 864 pixels
[Exif Thumbnail] Image Height - 585 pixels
[Exif Thumbnail] Bits Per Sample - 8 8 8 bits/component/pixel
[Exif Thumbnail] Compression - JPEG
[Exif Thumbnail] Photometric Interpretation - YCbCr
[Exif Thumbnail] Strip Offsets - 121906 124107 133439 135640
[Exif Thumbnail] Orientation - Top, left side (Horizontal / normal)
[Exif Thumbnail] Samples Per Pixel - 3 samples/pixel
[Exif Thumbnail] Rows Per Strip - 160 rows/strip
[Exif Thumbnail] Strip Byte Counts - 2201 9332 2201 1553 bytes
[Exif Thumbnail] X Resolution - 72 dots per inch
[Exif Thumbnail] Y Resolution - 72 dots per inch
[Exif Thumbnail] Planar Configuration - Chunky (contiguous for each subsampling pixel)
[Exif Thumbnail] Resolution Unit - Inch
[Exif Thumbnail] Software - IrfanView
[Exif Thumbnail] JPEG Tables - [574 values]
[Exif Thumbnail] YCbCr Sub-Sampling - YCbCr4:2:0
[Exif Thumbnail] Reference Black/White - [0,128,128] [255,255,255]
[File Type] Detected File Type Name - TIFF
[File Type] Detected File Type Long Name - Tagged Image File Format
[File Type] Detected MIME Type - image/tiff
[File Type] Expected File Name Extension - tiff
[File] File Name - color-pages-jpg.tif
[File] File Size - 138102 bytes
[File] File Modified Date - Thu Jan 25 14:55:10 +02:00 2024
The file is for a particular corner case: I need an efficient (metadata-based) way to detect that there are multiple pages and their dimensions differ. color-pages-jpg.zip
The text was updated successfully, but these errors were encountered:
Might be a duplicate of #223, however they didn't attach their sample file for regression tests etc.
This file was produced manually with tiffcp (libtiff 3.8.2, GnuWin32 port) from three images. Windows Photo Viewer shows every page. tiffinfo reports:
But, when using the recent metadata-extractor 2.19, an MWE similar to one in that issue,
reveals only a single IFD0 (the first page) plus a single thumbnail (the third page):
The file is for a particular corner case: I need an efficient (metadata-based) way to detect that there are multiple pages and their dimensions differ.
color-pages-jpg.zip
The text was updated successfully, but these errors were encountered: