Apologies in advance if this has been already answered... (I'll be
looking after I send this).
I'm attempting to convert very large images in a TIFF format to smaller
JPG format images from the command line.
If I convert the TIFF to a JPG, I lose some color. Since these are
product photos, I need to maintain full color - but make the images
usable for the WWW.
So far I've tried converting the CMYK TIFF to an RGB first, color is
lost. If I convert the TIFF to a PNG, even more color is lost. I've
attached the verbose output from the identify command.
Any ideas? Suggestions?
Thanks!
--SJ
Image: 8181_3030 Taupe.tif
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 2271x3223+0+0
Resolution: 300x300
Print size: 7.57x10.7433
Units: PixelsPerInch
Type: ColorSeparation
Base type: ColorSeparation
Endianess: MSB
Colorspace: CMYK
Depth: 8-bit
Channel depth:
cyan: 8-bit
magenta: 8-bit
yellow: 8-bit
black: 8-bit
Channel statistics:
cyan:
min: 0 (0)
max: 234 (0.917647)
mean: 111.419 (0.436936)
standard deviation: 23.4068 (0.0917912)
magenta:
min: 0 (0)
max: 229 (0.898039)
mean: 119.123 (0.46715)
standard deviation: 27.5044 (0.10786)
yellow:
min: 0 (0)
max: 255 (1)
mean: 146.664 (0.575153)
standard deviation: 36.2565 (0.142182)
black:
min: 0 (0)
max: 206 (0.807843)
mean: 40.6993 (0.159605)
standard deviation: 26.193 (0.102718)
Total ink density: 337%
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: cmyk(223,223,223,0)
Matte color: grey74
Transparent color: black
Page geometry: 2271x3223+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Properties:
create-date: 2008-09-30T14:07:55-04:00
dc:format: image/tiff
exif:ColorSpace: -1
exif:DateTimeDigitized: 2007-07-25T11:08:30-04:00
exif:DateTimeOriginal: 2007-07-25T11:08:30-04:00
exif:ExifVersion: 0220
exif:NativeDigest:
36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,
33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,
37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,
41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,
41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22
,23,24,25,26,27,28,30;88539F03F69E9E7ABFA40987ADBA708C
exif:PixelXDimension: 2271
exif:PixelYDimension: 3223
modify-date: 2007-08-24T09:52:25-04:00
photoshop:ColorMode: 4
photoshop:History:
photoshop:ICCProfile: U.S. Sheetfed Coated v2
signature:
de26a32c0c419ab81667f0ac2f1bbe1a1d3c093a8293745c60735f0cee7aa882
stRef:documentID: uuid:57695F3653B911DCB325EB4551F088FE
stRef:instanceID: uuid:61D8DC033DC711DCAD19C632B7446CBE
tiff:Compression: 1
tiff:ImageLength: 3223
tiff:ImageWidth: 2271
tiff:Make: Phase One
tiff:Model: H 20
tiff:NativeDigest:
256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,
306,270,271,272,305,315,33432;D55F7C260A6F0A91FD3FF878CCED6CDA
tiff:Orientation: 1
tiff:PhotometricInterpretation: 5
tiff:PlanarConfiguration: 1
tiff:rows-per-strip: 1
tiff:SamplesPerPixel: 4
tiff:software: Adobe Photoshop CS2 Macintosh
tiff:timestamp: 2007:08:24 09:52:23
xap:CreateDate: 2007-08-24T09:52:23-04:00
xap:CreatorTool: Adobe Photoshop CS2 Macintosh
xap:MetadataDate: 2007-08-24T09:52:23-04:00
xap:ModifyDate: 2007-08-24T09:52:23-04:00
xapMM:DocumentID: uuid:F4B4878B53B911DCB325EB4551F088FE
xapMM:InstanceID: uuid:F4B4878C53B911DCB325EB4551F088FE
Clipping path:
<?xml version="1.0" encoding="iso-8859-1"?>
<svg width="2271" height="3223">
<g>
<path
style="fill:#00000000;stroke:#00000000;stroke-width:0;stroke-antialiasin
g:false" d="
M 2256,17
C 2259.03,34.0392 2257,58.0403 2257,77
C 2257,114.996 2257,153.004 2257,191
C 2256.67,312.321 2256.33,433.679 2256,555
C 2255.67,932.629 2255.33,1310.37 2255,1688
C 2254.67,1890.31 2254.33,2092.69 2254,2295
C 2256.98,2305.66 2255,2327.96 2255,2341
C 2255,2373 2255,2405 2255,2437
C 2255.67,2533.99 2256.33,2631.01 2257,2728
C 2257.67,2837.99 2258.33,2948.01 2259,3058
C 2259,3083.33 2259,3108.67 2259,3134
C 2260.86,3140.66 2260,3151.67 2260,3160
C 2260,3175.53 2261.46,3194.18 2259,3208
C 2255.84,3208.81 2254.27,3211.18 2252,3212
C 2244.67,3212 2237.33,3212 2230,3212
C 2212.22,3212 2192.15,3212.4 2176,3211
C 2123.67,3210.67 2071.33,3210.33 2019,3210
C 1976.67,3209.67 1934.33,3209.33 1892,3209
C 1877.67,3209 1863.33,3209 1849,3209
C 1841.56,3209 1831.81,3209.63 1826,3208
C 1716.34,3207.67 1606.66,3207.33 1497,3207
C 1277.36,3208.33 1057.64,3209.67 838,3211
C 733.344,3211.33 628.656,3211.67 524,3212
C 524,3212.33 524,3212.67 524,3213
C 507.335,3213 490.665,3213 474,3213
C 439.337,3213 404.663,3213 370,3213
C 337.67,3213 305.33,3213 273,3213
C 273,3212.67 273,3212.33 273,3212
C 267.667,3212 262.333,3212 257,3212
C 244.001,3212 230.999,3212 218,3212
C 211.152,3212 202.242,3212.47 197,3211
C 191.334,3211 185.666,3211 180,3211
C 167.335,3211 154.665,3211 142,3211
C 135.447,3211 126.96,3211.39 122,3210
C 116.334,3210 110.666,3210 105,3210
C 92.3346,3210 79.6654,3210 67.0001,3210
C 60.4473,3210 51.9592,3210.39 47,3209
C 42.0004,3209 36.9995,3209 32,3209
C 32,3208.67 32,3208.33 32,3208
C 31.0001,3208 29.9999,3208 29,3208
C 29,3207.67 29,3207.33 29,3207
C 28.3335,3207 27.6665,3207 27,3207
C 27,3206.67 27,3206.33 27,3206
C 26.3334,3206 25.6666,3206 25,3206
C 24.6666,3205.33 24.3332,3204.67 24,3204
C 22.6668,3204 21.3332,3204 20,3204
C 20,3203.67 20,3203.33 20,3203
C 19.3334,3203 18.6666,3203 18.0001,3203
C 17.6667,3202.33 17.3333,3201.67 17,3201
C 15.3336,3200.67 13.6664,3200.33 12,3200
C 8.97722,3183.1 11.0001,3160.67 10.9999,3142
C 10.9999,3132.5 9.81646,3119.78 12,3112
C 12,3098.33 12,3084.67 12,3071
C 12,3041.67 12,3012.33 12,2983
C 12.3333,2983 12.6666,2983 13,2983
C 13,2981.67 13,2980.33 13,2979
C 13,2951.34 13,2923.66 13,2896
C 13,2883.84 11.1042,2867.32 14,2857
C 14.3334,2783.67 14.6668,2710.33 15,2637
C 15,2626.02 13.4213,2611.19 15.9999,2602
C 15.9999,2456.01 15.9999,2309.99 15.9999,2164
C 15.6667,1864.36 15.3333,1564.64 15,1265
C 15.3333,1128.35 15.6667,991.653 15.9999,855
C 13.9779,847.782 15,835.913 15,827
C 15,809.335 15,791.665 15,774
C 14.6668,709.34 14.3334,644.66 14,580
C 11.3251,549.145 12.9999,513.558 13,481
C 13,467.335 13,453.665 13,440
C 10.4236,430.806 12,415.979 12,405
C 12,381.002 12,356.998 12,333
C 12,322.668 12,312.332 12,302
C 9.74025,293.935 11.0001,280.799 10.9999,271
C 10.9999,250.335 10.9999,229.665 10.9999,209
C 10.6667,145.673 10.3333,82.3269 10,19
C 11.1789,18.3622 11.4591,17.3458 12,17
C 12.6666,17 13.3334,17 14,17
C 14,16.6667 14,16.3332 14,15.9999
C 14.6666,15.9999 15.3334,15.9999 15.9999,15.9999
C 16.9999,14.6669 18.0001,13.3333 19,12.0001
C 19.6666,12.0001 20.3334,12.0001 20.9999,12.0001
C 20.9999,11.6668 20.9999,11.3333 20.9999,11
C 27.3327,10.6667 33.6673,10.3334 40.0001,10.0001
C 52.6654,10.0001 65.3346,10.0001 78,10.0001
C 113.33,10.0001 148.67,10.0001 184,10.0001
C 321.32,10.6667 458.68,11.3335 596,12.0001
C 844.975,12.0001 1094.02,12.0001 1343,12.0001
C 1421.33,12.0001 1499.67,12.0001 1578,12.0001
C 1602.66,12.0001 1627.34,12.0001 1652,12.0001
C 1661.48,11.9999 1673.13,12.3332 1681,11
C 1682.67,11.3333 1684.33,11.6668 1686,12.0001
C 1686,11.6668 1686,11.3333 1686,11
C 1707,11 1728,11 1749,11
C 1791.66,11 1834.34,11 1877,11
C 1957.99,11 2039.01,11 2120,11
C 2160.66,11 2201.34,11 2242,11
C 2242,11.3333 2242,11.6668 2242,12.0001
C 2245,12.6667 2248,13.3335 2251,14.0001
C 2251,14.3334 2251,14.6667 2251,15
C 2251.67,15 2252.33,15 2253,15
C 2253,15.3333 2253,15.6666 2253,15.9999
C 2254,16.3332 2255,16.6667 2256,17 Z
"/>
</g>
</svg>
Profiles:
Profile-8bim: 16564 bytes
unknown[2,0]:
Special Instructions[71,40]: 0x00000000: ffffffff ff4fffff ff587bff
ffffff67 5c3cff74 ------O---X{----g\<-
0x00000014: ff4effff 403affff 0fff081b 6409ff7b 02ff5bff
t-N--@:------d--{--[
0x00000028: ffffff39 ff02ffff ff4d77ff ff24771f ff287eff ----9-----Mw
0x0000003c: ff24771f ff287eff 3dffff00 --$w--
Profile-icc: 557168 bytes
U.S. Sheetfed Coated v2
Profile-iptc: 8 bytes
Profile-xmp: 16037 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 28.48mb
Number pixels: 6.98mb
Pixels per second: 40.58mb
User time: 0.156u
Elapsed time: 0:01
Version: ImageMagick 6.4.4 2008-10-04 Q8 http://www.imagemagick.org
<http://www.imagemagick.org/>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users