Hi: gurus I am trying to parse the metadata of a tiff file using the identify -verbose option for a tiff file. But one thing I have noticed that the verbose command don't spit any tiles info. I guess my question is that is there any way I can get tile information via the verbose command. Besides this is there any way you can get the info about the single vs multiple strip via verbose command.
Regards,
RJ.
identify verbose doesn't show the tile info in a tiff file
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: identify verbose doesn't show the tile info in a tiff fi
Can you post a link to one of your tiled tiff files?
In the meantime see the -defines for tiff at http://www.imagemagick.org/script/formats.php and http://www.imagemagick.org/script/comma ... php#define
testing -- shows each resolution for a pyramid tiff as a layer and shows the rows per strip as tiff:rows-per-strip: 16
I am puzzled by the size of the last resolution layer. I assumed it created the last resolution to fit to one tile or smaller rather than pad to a full tile. Thus the last layer is 50x37 and not 128x128. But a factor of two larger would be 100x74, which would still fit into one tile of size 128x128. I don't understand this and may be a bug. Perhaps some one can clarify if I have made a bad assumption. Does IM always create 6 resolution levels regardless of the tile size? Is there a define for how many resolution layers to create?
It does not seem to show the number of tiles per layer though nor the tile size.
convert barns_grand_tetons.jpg -define tiff:tile-geometry=128x128 PTIF:barn_test2.tiff
c-98-234-221-122:images fred$ idv barn_test2.tiff
That data is available in the EXIF information via EXIFTOOL as:
322 TileWidth : 128
323 TileLength : 128
Perhaps that could be added to the IM verbose information and the string formats
exiftool -s -ee -g1 -u -n -D barn_test2.tiff[/quote]
I would suggest you post a new topic on the Developers forum and request the addition of the tile data and put a link back to this discussion.
In the meantime see the -defines for tiff at http://www.imagemagick.org/script/formats.php and http://www.imagemagick.org/script/comma ... php#define
testing -- shows each resolution for a pyramid tiff as a layer and shows the rows per strip as tiff:rows-per-strip: 16
I am puzzled by the size of the last resolution layer. I assumed it created the last resolution to fit to one tile or smaller rather than pad to a full tile. Thus the last layer is 50x37 and not 128x128. But a factor of two larger would be 100x74, which would still fit into one tile of size 128x128. I don't understand this and may be a bug. Perhaps some one can clarify if I have made a bad assumption. Does IM always create 6 resolution levels regardless of the tile size? Is there a define for how many resolution layers to create?
It does not seem to show the number of tiles per layer though nor the tile size.
convert barns_grand_tetons.jpg -define tiff:tile-geometry=128x128 PTIF:barn_test2.tiff
c-98-234-221-122:images fred$ idv barn_test2.tiff
Code: Select all
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 1600x1195+0+0
Resolution: 300x300
Print size: 5.33333x3.98333
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 104.842 (0.411145)
standard deviation: 55.5575 (0.217872)
kurtosis: 0.522376
skewness: 0.747798
Green:
min: 0 (0)
max: 255 (1)
mean: 117.763 (0.461817)
standard deviation: 55.0249 (0.215784)
kurtosis: -0.0898103
skewness: 0.411806
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.702 (0.508635)
standard deviation: 74.2522 (0.291185)
kurtosis: -0.947845
skewness: 0.0337854
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.436 (0.460532)
standard deviation: 62.2569 (0.244145)
kurtosis: -0.228867
skewness: 0.414094
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 1600x1195+0+0
Dispose: Undefined
Iterations: 0
Scene: 0 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: 04b6673b71c68e39443cf2aaefce9aeb40a63028dd8b872f9b7786435d3db17b
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 16
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 1.912M
Pixels per second: 10.06MB
User time: 0.190u
Elapsed time: 0:01.190
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 800x597+0+0
Resolution: 150x150
Print size: 5.33333x3.98
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 104.797 (0.41097)
standard deviation: 53.239 (0.20878)
kurtosis: 0.516031
skewness: 0.698749
Green:
min: 0 (0)
max: 255 (1)
mean: 117.711 (0.461613)
standard deviation: 52.6755 (0.206571)
kurtosis: -0.0941267
skewness: 0.391338
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.67 (0.508511)
standard deviation: 72.6155 (0.284767)
kurtosis: -0.945722
skewness: 0.0677882
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.393 (0.460365)
standard deviation: 60.2277 (0.236187)
kurtosis: -0.180652
skewness: 0.424485
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 800x597+0+0
Dispose: Undefined
Iterations: 0
Scene: 1 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: 8d4d57bb2217d64dcfe1b9c546a9545423a7cca66c36ac15b4138be6fa3e8923
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 16
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 478K
Pixels per second: 1.111MB
User time: 0.430u
Elapsed time: 0:01.430
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 400x298+0+0
Resolution: 75x75
Print size: 5.33333x3.97333
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 104.794 (0.410957)
standard deviation: 51.073 (0.200286)
kurtosis: 0.520354
skewness: 0.659866
Green:
min: 0 (0)
max: 255 (1)
mean: 117.719 (0.461643)
standard deviation: 50.6226 (0.19852)
kurtosis: -0.0787204
skewness: 0.375392
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.655 (0.508452)
standard deviation: 71.3041 (0.279624)
kurtosis: -0.966108
skewness: 0.100744
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.389 (0.460351)
standard deviation: 58.4676 (0.229285)
kurtosis: -0.140073
skewness: 0.44035
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 400x298+0+0
Dispose: Undefined
Iterations: 0
Scene: 2 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: 38dc711ce422012d0c57b43d1669c6b4e1206ab100d32b6a2d1f507b124c9cdc
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 16
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 119K
Pixels per second: 234KB
User time: 0.500u
Elapsed time: 0:01.509
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 200x149+0+0
Resolution: 37.5x37.5
Print size: 5.33333x3.97333
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 104.799 (0.410976)
standard deviation: 49.0676 (0.192422)
kurtosis: 0.490629
skewness: 0.624674
Green:
min: 0 (0)
max: 255 (1)
mean: 117.728 (0.46168)
standard deviation: 48.881 (0.19169)
kurtosis: -0.11384
skewness: 0.360353
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.655 (0.50845)
standard deviation: 70.3929 (0.276051)
kurtosis: -0.999057
skewness: 0.123565
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.394 (0.460369)
standard deviation: 57.015 (0.223588)
kurtosis: -0.126185
skewness: 0.454149
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 200x149+0+0
Dispose: Undefined
Iterations: 0
Scene: 3 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: eaa0b4b1c6c68aed4a261510e6c6217a7e9170d511971c559a9141f0f87c3836
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 16
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 29.8K
Pixels per second: 56.2KB
User time: 0.530u
Elapsed time: 0:01.529
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 100x74+0+0
Resolution: 18.75x18.75
Print size: 5.33333x3.94667
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 3 (0.0117647)
max: 255 (1)
mean: 104.807 (0.41101)
standard deviation: 47.1025 (0.184716)
kurtosis: 0.405283
skewness: 0.577068
Green:
min: 0 (0)
max: 255 (1)
mean: 117.746 (0.46175)
standard deviation: 47.2668 (0.18536)
kurtosis: -0.207835
skewness: 0.331106
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.673 (0.508521)
standard deviation: 69.7313 (0.273456)
kurtosis: -1.03314
skewness: 0.131201
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.409 (0.460427)
standard deviation: 55.7233 (0.218523)
kurtosis: -0.132432
skewness: 0.456362
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 100x74+0+0
Dispose: Undefined
Iterations: 0
Scene: 4 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: 72505c429be301eb917a42f8e697128d115d02962fc1a678ab4c6fdfa7493629
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 32
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 7.4K
Pixels per second: 13.5KB
User time: 0.540u
Elapsed time: 0:01.549
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
Image: barn_test2.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 50x37+0+0
Resolution: 9.375x9.375
Print size: 5.33333x3.94667
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 104.831 (0.411101)
standard deviation: 44.6822 (0.175224)
kurtosis: 0.323903
skewness: 0.486413
Green:
min: 0 (0)
max: 255 (1)
mean: 117.741 (0.461728)
standard deviation: 45.3129 (0.177698)
kurtosis: -0.303942
skewness: 0.2769
Blue:
min: 0 (0)
max: 255 (1)
mean: 129.692 (0.508598)
standard deviation: 68.9559 (0.270415)
kurtosis: -1.06471
skewness: 0.138321
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 117.421 (0.460476)
standard deviation: 54.1747 (0.21245)
kurtosis: -0.109665
skewness: 0.452757
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 50x37+0+0
Dispose: Undefined
Iterations: 0
Scene: 5 of 6
Compression: JPEG
Orientation: TopLeft
Properties:
date:create: 2013-07-20T10:27:42-07:00
date:modify: 2013-07-20T10:27:42-07:00
dc:format: image/jpeg
exif:ApertureValue: 556784/65536
exif:ColorSpace: 1
exif:CompressedBitsPerPixel: 9/1
exif:CustomRendered: 0
exif:DateTimeDigitized: 2004-06-17T06:47:02-08:00
exif:DateTimeOriginal: 2004-06-17T06:47:02-08:00
exif:ExifVersion: 0220
exif:ExposureBiasValue: 0/2
exif:ExposureMode: 0
exif:ExposureProgram: 2
exif:ExposureTime: 1/30
exif:FileSource: 3
exif:Fired: False
exif:FlashpixVersion: 0100
exif:FNumber: 19/1
exif:FocalLength: 70/1
exif:FocalPlaneResolutionUnit: 2
exif:FocalPlaneXResolution: 3072000/892
exif:FocalPlaneYResolution: 2048000/595
exif:Function: False
exif:MaxApertureValue: 284416/65536
exif:MeteringMode: 6
exif:Mode: 0
exif:PixelXDimension: 1600
exif:PixelYDimension: 1195
exif:RedEyeMode: False
exif:Return: 0
exif:SceneCaptureType: 0
exif:SensingMethod: 2
exif:ShutterSpeedValue: 321578/65536
exif:WhiteBalance: 0
jpeg:sampling-factor: 2x2
photoshop:History:
rdf:Alt:
signature: 5c134fabd06426c44451d00bf2be4aa9ba59d95331a8ebb8c41c01dfe20dc307
stRef:documentID: adobe:docid:photoshop:e686cd7e-c464-11da-8556-b100cd861718
stRef:instanceID: uuid:e686cd7f-c464-11da-8556-b100cd861718
tiff:document: barn_test2.tiff
tiff:endian: lsb
tiff:make: Canon
tiff:model: Canon EOS D60
tiff:photometric: RGB
tiff:rows-per-strip: 64
tiff:XResolution: 300/1
tiff:YResolution: 300/1
xap:CreateDate: 2006-04-04T22:31:30-08:00
xap:CreatorTool: Adobe Photoshop CS Windows
xap:MetadataDate: 2006-04-04T22:31:30-08:00
xap:ModifyDate: 2006-04-04T22:31:30-08:00
xapMM:DocumentID: adobe:docid:photoshop:e686cd84-c464-11da-8556-b100cd861718
Profiles:
Profile-8bim: 8578 bytes
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
Profile-iptc: 40 bytes
unknown[2,0]:
Byline[2,80]: Unspecified
Copyright String[2,116]: Unspecified
Profile-xmp: 8616 bytes
Artifacts:
filename: barn_test2.tiff
verbose: true
Tainted: False
Filesize: 3.771MB
Number pixels: 1.85K
Pixels per second: 3.25KB
User time: 0.560u
Elapsed time: 0:01.569
Version: ImageMagick 6.8.6-6 2013-07-18 Q16 http://www.imagemagick.org
That data is available in the EXIF information via EXIFTOOL as:
322 TileWidth : 128
323 TileLength : 128
Perhaps that could be added to the IM verbose information and the string formats
exiftool -s -ee -g1 -u -n -D barn_test2.tiff
Code: Select all
---- ExifTool ----
- ExifToolVersion : 8.71
---- System ----
- FileName : barn_test2.tiff
- Directory : .
- FileSize : 3771358
- FileModifyDate : 2013:07:20 10:27:42-07:00
- FilePermissions : 644
---- File ----
- FileType : TIFF
- MIMEType : image/tiff
- ExifByteOrder : II
- CurrentIPTCDigest : 2c306865bff996da62bb46d15e08d323
---- IFD0 ----
256 ImageWidth : 1600
257 ImageHeight : 1195
258 BitsPerSample : 8 8 8
259 Compression : 7
262 PhotometricInterpretation : 2
266 FillOrder : 1
269 DocumentName : barn_test2.tiff
271 Make : Canon
272 Model : Canon EOS D60
274 Orientation : 1
277 SamplesPerPixel : 3
278 RowsPerStrip : 16
282 XResolution : 300
283 YResolution : 300
284 PlanarConfiguration : 1
296 ResolutionUnit : 2
297 PageNumber : 0 6
318 WhitePoint : 0.3127000034 0.3289999962
319 PrimaryChromaticities : 0.6399999857 0.3300000131 0.3000000119 0.6000000238 0.150000006 0.05999999866
322 TileWidth : 128
323 TileLength : 128
324 TileOffsets : (Binary data 951 bytes, use -b option to extract)
325 TileByteCounts : (Binary data 761 bytes, use -b option to extract)
347 JPEGTables : (Binary data 289 bytes, use -b option to extract)
530 YCbCrSubSampling : 2 2
---- XMP-x ----
- XMPToolkit : XMP toolkit 3.0-28, framework 1.6
---- XMP-rdf ----
- About : uuid:e686cd85-c464-11da-8556-b100cd861718
---- XMP-exif ----
- ExposureTime : 0.0333333333333333
- FNumber : 19
- ExposureProgram : 2
- ExifVersion : 0220
- DateTimeOriginal : 2004:06:17 06:47:02-08:00
- DateTimeDigitized : 2004:06:17 06:47:02-08:00
- CompressedBitsPerPixel : 9
- ShutterSpeedValue : 0.0333333270134003
- ApertureValue : 18.9999643262673
- ExposureCompensation : 0
- MaxApertureValue : 4.49999024812954
- MeteringMode : 6
- FocalLength : 70
- FlashpixVersion : 0100
- ColorSpace : 1
- ExifImageWidth : 1600
- ExifImageHeight : 1195
- FocalPlaneXResolution : 3443.94618834081
- FocalPlaneYResolution : 3442.01680672269
- FocalPlaneResolutionUnit : 2
- SensingMethod : 2
- FileSource : 3
- CustomRendered : 0
- ExposureMode : 0
- WhiteBalance : 0
- SceneCaptureType : 0
- ISO : 100
- ComponentsConfiguration : 1, 2, 3, 0
- FlashFired : False
- FlashReturn : 0
- FlashMode : 0
- FlashFunction : False
- FlashRedEyeMode : False
- ExposureTime : 0.0333333333333333
- FNumber : 19
- ExposureProgram : 2
- ExifVersion : 0220
- DateTimeOriginal : 2004:06:17 06:47:02-08:00
- DateTimeDigitized : 2004:06:17 06:47:02-08:00
- CompressedBitsPerPixel : 9
- ShutterSpeedValue : 0.0333333270134003
- ApertureValue : 18.9999643262673
- ExposureCompensation : 0
- MaxApertureValue : 4.49999024812954
- MeteringMode : 6
- FocalLength : 70
- FlashpixVersion : 0100
- ColorSpace : 1
- ExifImageWidth : 1600
- ExifImageHeight : 1195
- FocalPlaneXResolution : 3443.94618834081
- FocalPlaneYResolution : 3442.01680672269
- FocalPlaneResolutionUnit : 2
- SensingMethod : 2
- FileSource : 3
- CustomRendered : 0
- ExposureMode : 0
- WhiteBalance : 0
- SceneCaptureType : 0
- ISO : 100
- ComponentsConfiguration : 1, 2, 3, 0
- FlashFired : False
- FlashReturn : 0
- FlashMode : 0
- FlashFunction : False
- FlashRedEyeMode : False
- ExposureTime : 0.0333333333333333
- FNumber : 19
- ExposureProgram : 2
- ExifVersion : 0220
- DateTimeOriginal : 2004:06:17 06:47:02-08:00
- DateTimeDigitized : 2004:06:17 06:47:02-08:00
- CompressedBitsPerPixel : 9
- ShutterSpeedValue : 0.0333333270134003
- ApertureValue : 18.9999643262673
- ExposureCompensation : 0
- MaxApertureValue : 4.49999024812954
- MeteringMode : 6
- FocalLength : 70
- FlashpixVersion : 0100
- ColorSpace : 1
I would suggest you post a new topic on the Developers forum and request the addition of the tile data and put a link back to this discussion.
Last edited by fmw42 on 2013-07-20T11:32:51-07:00, edited 5 times in total.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: identify verbose doesn't show the tile info in a tiff fi
You can also use tiffinfo to get that information:
convert barns_grand_tetons.jpg -define tiff:tile-geometry=128x128 PTIF:barn_test2.tiff
tiffinfo barn_test2.tiff
Namely,
Tile Width: 128 Tile Length: 128
Rows/Strip: 16
Page Number: 0-6 (I believe this means that there are 6 resolution levels written as layers and numbered 0-5, since IM and Tiffinfo show those layer numbers and 6 layers in subsequent information listed out not included here)
It would be nice if IM would show the tile dimensions in its verbose tiff information.
convert barns_grand_tetons.jpg -define tiff:tile-geometry=128x128 PTIF:barn_test2.tiff
tiffinfo barn_test2.tiff
Code: Select all
TIFF Directory at offset 0x2583ec (2458604)
Image Width: 1600 Image Length: 1195
Tile Width: 128 Tile Length: 128
Resolution: 300, 300 pixels/inch
Bits/Sample: 8
Compression Scheme: JPEG
Photometric Interpretation: RGB color
FillOrder: msb-to-lsb
YCbCr Subsampling: 2, 2
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 16
Planar Configuration: single image plane
Page Number: 0-6
DocumentName: barn_test2.tiff
Tile Width: 128 Tile Length: 128
Rows/Strip: 16
Page Number: 0-6 (I believe this means that there are 6 resolution levels written as layers and numbered 0-5, since IM and Tiffinfo show those layer numbers and 6 layers in subsequent information listed out not included here)
It would be nice if IM would show the tile dimensions in its verbose tiff information.