Grayscale TIFF Identify/Convert Problem
Posted: 2008-12-09T11:43:11-07:00
This may or may not relate to my previous TIFF issue (viewtopic.php?f=3&t=12659) so in the event that it does, I apologize.
File: http://wbd.wbdhost.com/test_gray.tiff
When working with the above grayscale TIFF image (produced from an EPS using an implementation of the Harlequin RIP), I get varying reports from different versions of ImageMagick as to the details of the file. ImageMagick 6.3.8 gives me the following report which looks correct:
Image: ./test_gray.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 2500x1159+0+0
Type: Grayscale
Endianess: MSB
Colorspace: Gray
Depth: 8-bit
Channel depth:
Gray: 8-bit
Channel statistics:
Gray:
Min: 0 (0)
Max: 214 (0.839216)
Mean: 61.3263 (0.240495)
Standard deviation: 95.766 (0.375553)
Histogram:
2034296: ( 0, 0, 0) #000000 black
796098: (214,214,214) #D6D6D6 grey84
13025: (107,107,107) #6B6B6B grey42
11476: (161,161,161) #A1A1A1 grey63
9354: ( 54, 54, 54) #363636 grey21
5124: (201,201,201) #C9C9C9 grey79
4573: ( 14, 14, 14) #0E0E0E rgb(14,14,14)
3742: ( 41, 41, 41) #292929 grey16
3082: (174,174,174) #AEAEAE rgb(174,174,174)
3008: ( 81, 81, 81) #515151 rgb(81,81,81)
2825: (134,134,134) #868686 rgb(134,134,134)
2163: (188,188,188) #BCBCBC rgb(188,188,188)
2148: ( 27, 27, 27) #1B1B1B rgb(27,27,27)
1698: ( 94, 94, 94) #5E5E5E grey37
1681: (121,121,121) #797979 rgb(121,121,121)
1645: (148,148,148) #949494 grey58
1562: ( 67, 67, 67) #434343 rgb(67,67,67)
Rendering intent: Undefined
Resolution: 300x300
Units: PixelsPerInch
Filesize: 2.76522mb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2500x1159+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Properties:
Signature: e5b47d4545a238839c5c67899ff3d2b6f137b38f422747b7d4d0ff4da01502fe
Tiff:rows-per-strip: 106
Artifacts:
Verbose: true
Tainted: False
Version: ImageMagick 6.3.8 04/23/08 Q16 http://www.imagemagick.org
While ImageMagick 6.4.7-4 gives me the following report which seems to be incorrect:
[root@rip tmp]# identify -verbose ./test_gray.tiff
Image: ./test_gray.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 2500x1159+0+0
Resolution: 300x300
Print size: 8.33333x3.86333
Units: PixelsPerInch
Type: Bilevel
Base type: Bilevel
Endianess: MSB
Colorspace: RGB
Depth: 8/1-bit
Channel depth:
gray: 1-bit
Channel statistics:
gray:
min: 255 (1)
max: 255 (1)
mean: 255 (1)
standard deviation: nan (nan)
Histogram:
2897500: (255,255,255) #FFFFFF white
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2500x1159+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Properties:
create-date: 2008-12-09T13:31:12-05:00
modify-date: 2008-12-09T13:21:30-05:00
signature: 8d4d825a711b20a2ccdf8ee2174ad7558226784537cc3c6e6ab11c1802af25e6
tiff:rows-per-strip: 106
Artifacts:
verbose: true
Tainted: False
Filesize: 2.765mb
Number pixels: 2.763mb
Version: ImageMagick 6.4.7 2008-12-09 Q16 OpenMP http://www.imagemagick.org
The real problem is that when I try to do anything in 6.4.7-4 with the image (resize, change format, etc) I get a resulting image that is entirely white. Am I missing the boat on something (that's another complete possibility
File: http://wbd.wbdhost.com/test_gray.tiff
When working with the above grayscale TIFF image (produced from an EPS using an implementation of the Harlequin RIP), I get varying reports from different versions of ImageMagick as to the details of the file. ImageMagick 6.3.8 gives me the following report which looks correct:
Image: ./test_gray.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 2500x1159+0+0
Type: Grayscale
Endianess: MSB
Colorspace: Gray
Depth: 8-bit
Channel depth:
Gray: 8-bit
Channel statistics:
Gray:
Min: 0 (0)
Max: 214 (0.839216)
Mean: 61.3263 (0.240495)
Standard deviation: 95.766 (0.375553)
Histogram:
2034296: ( 0, 0, 0) #000000 black
796098: (214,214,214) #D6D6D6 grey84
13025: (107,107,107) #6B6B6B grey42
11476: (161,161,161) #A1A1A1 grey63
9354: ( 54, 54, 54) #363636 grey21
5124: (201,201,201) #C9C9C9 grey79
4573: ( 14, 14, 14) #0E0E0E rgb(14,14,14)
3742: ( 41, 41, 41) #292929 grey16
3082: (174,174,174) #AEAEAE rgb(174,174,174)
3008: ( 81, 81, 81) #515151 rgb(81,81,81)
2825: (134,134,134) #868686 rgb(134,134,134)
2163: (188,188,188) #BCBCBC rgb(188,188,188)
2148: ( 27, 27, 27) #1B1B1B rgb(27,27,27)
1698: ( 94, 94, 94) #5E5E5E grey37
1681: (121,121,121) #797979 rgb(121,121,121)
1645: (148,148,148) #949494 grey58
1562: ( 67, 67, 67) #434343 rgb(67,67,67)
Rendering intent: Undefined
Resolution: 300x300
Units: PixelsPerInch
Filesize: 2.76522mb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2500x1159+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Properties:
Signature: e5b47d4545a238839c5c67899ff3d2b6f137b38f422747b7d4d0ff4da01502fe
Tiff:rows-per-strip: 106
Artifacts:
Verbose: true
Tainted: False
Version: ImageMagick 6.3.8 04/23/08 Q16 http://www.imagemagick.org
While ImageMagick 6.4.7-4 gives me the following report which seems to be incorrect:
[root@rip tmp]# identify -verbose ./test_gray.tiff
Image: ./test_gray.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 2500x1159+0+0
Resolution: 300x300
Print size: 8.33333x3.86333
Units: PixelsPerInch
Type: Bilevel
Base type: Bilevel
Endianess: MSB
Colorspace: RGB
Depth: 8/1-bit
Channel depth:
gray: 1-bit
Channel statistics:
gray:
min: 255 (1)
max: 255 (1)
mean: 255 (1)
standard deviation: nan (nan)
Histogram:
2897500: (255,255,255) #FFFFFF white
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2500x1159+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Properties:
create-date: 2008-12-09T13:31:12-05:00
modify-date: 2008-12-09T13:21:30-05:00
signature: 8d4d825a711b20a2ccdf8ee2174ad7558226784537cc3c6e6ab11c1802af25e6
tiff:rows-per-strip: 106
Artifacts:
verbose: true
Tainted: False
Filesize: 2.765mb
Number pixels: 2.763mb
Version: ImageMagick 6.4.7 2008-12-09 Q16 OpenMP http://www.imagemagick.org
The real problem is that when I try to do anything in 6.4.7-4 with the image (resize, change format, etc) I get a resulting image that is entirely white. Am I missing the boat on something (that's another complete possibility