PDF conversion making image darker...

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
demonpiggies
Posts: 4
Joined: 2012-01-23T14:59:33-07:00
Authentication code: 8675308
Location: Rhode Island

PDF conversion making image darker...

Post by demonpiggies »

I'm new to using ImageMagick and searched for help with creating the correct string of commands to create an image of a user's PDF.

The problem I've encountered is that after the conversion the entire image is yellowed. Later I figured out that it's transparent so I used the "-flatten" option. I also figured out that this is a vector image and added the "-render" option and the resulting image is very clear and sharp (not the one attached).

I tried using the "-resample" instead of the "-density" option because I read that it will produce better colors (I don't have the post I read this from, sorry). Using "resample" produce the yellow-effect.

I cleared up the yellow but the colors of the image are darker, major color shift (see attached).

Code: Select all


convert.exe -density 600x600 -flatten -colorspace sRGB -render "C:\test.pdf" "c:\testPDF_render.jpg"

Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PDF conversion making image darker...

Post by fmw42 »

does your pdf file have any profiles attached. use identify -verbose image.pdf to see. if profiles are there, then you need to use -profile with your images to properly preserve your colors. see http://www.imagemagick.org/Usage/formats/#profiles
User avatar
demonpiggies
Posts: 4
Joined: 2012-01-23T14:59:33-07:00
Authentication code: 8675308
Location: Rhode Island

Re: PDF conversion making image darker...

Post by demonpiggies »

Thank you for replying but I do not see anything about a profile being attached.

Code: Select all

c:\Program Files\ImageMagick-6.7.4-Q16>identify -verbose "C:\tester.pdf"
Image: C:\tester.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: ColorSeparation
  Base type: ColorSeparation
  Endianess: Undefined
  Colorspace: CMYK
  Depth: 16/8-bit
  Channel depth:
    cyan: 8-bit
    magenta: 8-bit
    yellow: 8-bit
    black: 8-bit
  Channel statistics:
    Cyan:
      min: 0 (0)
      max: 65535 (1)
      mean: 2637.95 (0.0402525)
      standard deviation: 9528.95 (0.145403)
      kurtosis: 14.246
      skewness: 3.84951
    Magenta:
      min: 0 (0)
      max: 65535 (1)
      mean: 2963.47 (0.0452196)
      standard deviation: 10662.7 (0.162702)
      kurtosis: 15.572
      skewness: 3.94866
    Yellow:
      min: 0 (0)
      max: 45232 (0.690196)
      mean: 2939.88 (0.0448596)
      standard deviation: 9488.4 (0.144784)
      kurtosis: 11.4069
      skewness: 3.53623
    Black:
      min: 0 (0)
      max: 58596 (0.894118)
      mean: 3105.74 (0.0473905)
      standard deviation: 11368.4 (0.173471)
      kurtosis: 14.1673
      skewness: 3.86115
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 2911.76 (0.0444306)
      standard deviation: 10292.8 (0.157058)
      kurtosis: 14.5509
      skewness: 3.86025
  Total ink density: 297%
  Colors: 420
   Rendering intent: Undefined
  Interlace: None
  Background color: cmyk(255,255,255,0)
  Border color: cmyk(223,223,223,0)
  Matte color: cmyk(189,189,189,0)
  Transparent color: cmyk(0,0,0,0)
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-24T15:03:17-05:00
    date:modify: 2012-01-24T15:03:17-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:SpotColor-0: PANTONE Blue 072 CVC
    pdf:SpotColor-1: PANTONE 7506 C
    pdf:SpotColor-2: PANTONE 873 C
    pdf:SpotColor-3: PANTONE 7421 C
    pdf:SpotColor-4: guides
    pdf:Version: PDF-1.4
    signature: d9156e93a315efe2fccb70bf24f995aca3e302ccb1441e2d0754d58c028f99c6
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 2.004MB
  Number pixels: 501K
  Pixels per second: 33.4MB
  User time: 0.016u
  Elapsed time: 0:01.014
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
indiego
Posts: 75
Joined: 2010-10-16T06:35:10-07:00
Authentication code: 8675308

Re: PDF conversion making image darker...

Post by indiego »

I noticed some PANTONE spot colors in the PDF. Donno if IM is supporting this.

Code: Select all

    pdf:SpotColor-0: PANTONE Blue 072 CVC
    pdf:SpotColor-1: PANTONE 7506 C
    pdf:SpotColor-2: PANTONE 873 C
    pdf:SpotColor-3: PANTONE 7421 C
I only found a page, where the corresponding RGB values are listed (http://goffgrafix.com/pantone-rgb-100.php).
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PDF conversion making image darker...

Post by fmw42 »

IM does not support pantone that I know about.

Please post a link to your original PDF so others can test with it.

Your verbose info shows that it is in CMYK colorspace. Thus I would suggest using two profiles -- first from CMYK second to sRGB. You need to find the profiles online somewhere, then

convert image.pdf -profile path2profile/USWebCoatedSWOP.icc -profile path2profile/sRGB.icc result.jpg

or

convert image.pdf -profile path2profile/CMYK.icc -profile path2profile/sRGB.icc result.jpg


If you want to flatten to a white background, then add -background white -flatten before writing your output.

You should not need -flatten unless your pdf has transparency or has multiple pages you need to merge.
User avatar
demonpiggies
Posts: 4
Joined: 2012-01-23T14:59:33-07:00
Authentication code: 8675308
Location: Rhode Island

Re: PDF conversion making image darker...

Post by demonpiggies »

Sorry for the late response...

So I'm not able to post the PDF for public use since it's a customer's file but we have preformed a number of tests using this PDF and we've found a few things:
  1. 1. When changing the Pantone using PDF to RGB mode the conversion is fine.
  • 2. When changing the original PDF to RGB using Spot color it's fine too.
  • 3. When changing the original PDF to RGB using Process color it's fine too.
  • 4. When changing the original PDF to CMYK using Spot color it's fine too.
  • 5. When changing the original PDF to CMYK using Process color the same discoloration happens.
I performed these tests using only the "density" option set to "600". We were able to confirm that this particular PDF uses Pantone colors and we changed the file to use RGB and CMYK in these tests. The file still retained the pantone information in Illistrator and in the Spot color conversions but not in the Process ones.

(Sorry for having to post these like this but I'm not approved to attache files but I did remove the histograph info)

RGB Mode:

Code: Select all

Image: C:\tester (rgb mode).pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: ColorSeparation
  Base type: ColorSeparation
  Endianess: Undefined
  Colorspace: CMYK
  Depth: 16/8-bit
  Channel depth:
    cyan: 8-bit
    magenta: 8-bit
    yellow: 8-bit
    black: 8-bit
  Channel statistics:
    Cyan:
      min: 0 (0)
      max: 65535 (1)
      mean: 2465.5 (0.0376212)
      standard deviation: 8863.65 (0.135251)
      kurtosis: 14.1105
      skewness: 3.82155
    Magenta:
      min: 0 (0)
      max: 63479 (0.968627)
      mean: 2939.23 (0.0448497)
      standard deviation: 10537.2 (0.160788)
      kurtosis: 14.9933
      skewness: 3.89858
    Yellow:
      min: 0 (0)
      max: 43947 (0.670588)
      mean: 2664.85 (0.040663)
      standard deviation: 9194.9 (0.140305)
      kurtosis: 11.563
      skewness: 3.56802
    Black:
      min: 0 (0)
      max: 48573 (0.741176)
      mean: 2593.07 (0.0395677)
      standard deviation: 9468.32 (0.144477)
      kurtosis: 13.9137
      skewness: 3.83291
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 2665.66 (0.0406754)
      standard deviation: 9536.68 (0.14552)
      kurtosis: 14.2111
      skewness: 3.82603
  Total ink density: 274%
  Colors: 346
  Histogram:
    451535: (    0,    0,    0,    0) #0000000000000000 cmyk(0,0,0,0)
       100: (    0,    0, 2313,    0) #0000000009090000 cmyk(0,0,9,0)
         4: (    0,  257, 2056,    0) #0000010108080000 cmyk(0,1,8,0)
        16: (    0,  257, 2313,    0) #0000010109090000 cmyk(0,1,9,0)
        78: (    0,  514, 2056,    0) #0000020208080000 cmyk(0,2,8,0)
      4420: (    0, 2056, 8224,    0) #0000080820200000 cmyk(0,8,32,0)
         8: (    0, 3598,  257,    0) #00000E0E01010000 cmyk(0,14,1,0)
         1: (  257,  771, 2056,    0) #0101030308080000 cmyk(1,3,8,0)
         3: (  257, 1028, 1799,    0) #0101040407070000 cmyk(1,4,7,0)
         2: (  257, 1028, 2056,    0) #0101040408080000 cmyk(1,4,8,0)
         6: (  257, 7453,  514,    0) #01011D1D02020000 cmyk(1,29,2,0)
         1: (  257,11308,  771,    0) #01012C2C03030000 cmyk(1,44,3,0)
       672: (  514,15163, 1028,    0) #02023B3B04040000 cmyk(2,59,4,0)
        30: (  514,15934, 4369,    0) #02023E3E11110000 cmyk(2,62,17,0)
         4: (  771, 1542, 1542,    0) #0303060606060000 cmyk(3,6,6,0)
         5: (  771,19018, 1542,    0) #03034A4A06060000 cmyk(3,74,6,0)
         8: (  771,22873, 1799,    0) #0303595907070000 cmyk(3,89,7,0)
         1: ( 1028, 1799, 1542,    0) #0404070706060000 cmyk(4,7,6,0)
         5: ( 1028,26728, 2056,    0) #0404686808080000 cmyk(4,104,8,0)
         4: ( 1028,30326, 2313,    0) #0404767609090000 cmyk(4,118,9,0)
         9: ( 1285, 3341,10537,    0) #05050D0D29290000 cmyk(5,13,41,0)
        28: ( 1285, 4112, 2827, 1542) #050510100B0B0606 cmyk(5,16,11,6)
        53: ( 1285, 5911,10280, 1542) #0505171728280606 cmyk(5,23,40,6)
         1: ( 1542,16962, 6168,    0) #0606424218180000 cmyk(6,66,24,0)
         2: ( 1799, 2570, 1285,    0) #07070A0A05050000 cmyk(7,10,5,0)
         1: ( 2313,17219, 5140,    0) #0909434314140000 cmyk(9,67,20,0)
         1: ( 2570, 2827, 5654,    0) #0A0A0B0B16160000 cmyk(10,11,22,0)
         1: ( 2570, 3084, 1285,    0) #0A0A0C0C05050000 cmyk(10,12,5,0)
         9: ( 2570, 4626,12850,    0) #0A0A121232320000 cmyk(10,18,50,0)
       942: ( 2827, 2827, 2827, 3084) #0B0B0B0B0B0B0C0C cmyk(11,11,11,12)
        15: ( 2827, 8224, 5654, 3341) #0B0B202016160D0D cmyk(11,32,22,13)
        46: ( 2827,10023,12593, 3341) #0B0B272731310D0D cmyk(11,39,49,13)
         1: ( 3084, 3855, 1285,    0) #0C0C0F0F05050000 cmyk(12,15,5,0)
         1: ( 3341,18761, 8738,    0) #0D0D494922220000 cmyk(13,73,34,0)
         1: ( 3855, 4626, 9509,  257) #0F0F121225250101 cmyk(15,18,37,1)
        10: ( 3855, 6168,15163,  257) #0F0F18183B3B0101 cmyk(15,24,59,1)
         1: ( 3855, 6682, 7967, 1542) #0F0F1A1A1F1F0606 cmyk(15,26,31,6)
         1: ( 4112,13364,14392, 4883) #1010343438381313 cmyk(16,52,56,19)
        21: ( 4369, 3598,  514,    0) #11110E0E02020000 cmyk(17,14,2,0)
        16: ( 4369,12593, 8481, 5140) #1111313121211414 cmyk(17,49,33,20)
        79: ( 4369,14135,14906, 5140) #111137373A3A1414 cmyk(17,55,58,20)
         2: ( 4369,20046,12079,    0) #11114E4E2F2F0000 cmyk(17,78,47,0)
         1: ( 4626, 4883, 1028,    0) #1212131304040000 cmyk(18,19,4,0)
         1: ( 4883, 4883, 1028,    0) #1313131304040000 cmyk(19,19,4,0)
        13: ( 5140, 6168,13107,  257) #1414181833330101 cmyk(20,24,51,1)
         4: ( 5140, 7453,17733,  257) #14141D1D45450101 cmyk(20,29,69,1)
         1: ( 5140,22616,13364, 1285) #1414585834340505 cmyk(20,88,52,5)
        13: ( 5397, 5397, 5397, 5911) #1515151515151717 cmyk(21,21,21,23)
         1: ( 5654, 5654, 1028,    0) #1616161604040000 cmyk(22,22,4,0)
         1: ( 5654,40349,12079, 3341) #16169D9D2F2F0D0D cmyk(22,157,47,13)
      1081: ( 5911, 5654, 5654, 6425) #1717161616161919 cmyk(23,22,22,25)
        53: ( 5911,16705,11308, 6939) #171741412C2C1B1B cmyk(23,65,44,27)
       186: ( 5911,18247,17219, 6939) #1717474743431B1B cmyk(23,71,67,27)
         1: ( 6168,12079,13107, 3598) #18182F2F33330E0E cmyk(24,47,51,14)
         1: ( 6425, 6425, 1028,    0) #1919191904040000 cmyk(25,25,4,0)
         4: ( 6425, 8738,20046,  514) #191922224E4E0202 cmyk(25,34,78,2)
         1: ( 6939, 6682, 1285,    0) #1B1B1A1A05050000 cmyk(27,26,5,0)
         2: ( 6939,21074,18761, 7967) #1B1B525249491F1F cmyk(27,82,73,31)
         8: ( 7453,21074,14135, 8738) #1D1D525237372222 cmyk(29,82,55,34)
        52: ( 7453,22359,19532, 8738) #1D1D57574C4C2222 cmyk(29,87,76,34)
         9: ( 7710,10280,22359,  514) #1E1E282857570202 cmyk(30,40,87,2)
         1: ( 7710,30583,15677, 5140) #1E1E77773D3D1414 cmyk(30,119,61,20)
        54: ( 7710,31097,17219, 5140) #1E1E797943431414 cmyk(30,121,67,20)
        34: ( 8224, 8224, 7967, 8995) #202020201F1F2323 cmyk(32,32,31,35)
         1: ( 8224,28270,16705, 5654) #20206E6E41411616 cmyk(32,110,65,22)
        41: ( 8481, 8224, 7967, 8995) #212120201F1F2323 cmyk(33,32,31,35)
        16: ( 8738, 7196, 1028,    0) #22221C1C04040000 cmyk(34,28,4,0)
      1046: ( 8738, 8738, 8481, 9509) #2222222221212525 cmyk(34,34,33,37)
         1: ( 8738, 8995, 9509, 9509) #2222232325252525 cmyk(34,35,37,37)
         4: ( 8995,11565,24672,  514) #23232D2D60600202 cmyk(35,45,96,2)
        14: ( 8995,25186,16962,10537) #2323626242422929 cmyk(35,98,66,41)
        58: ( 8995,26471,21845,10537) #2323676755552929 cmyk(35,103,85,41)
         2: ( 9252,27242,22102,10794) #24246A6A56562A2A cmyk(36,106,86,42)
        28: ( 9766,21074,19789, 7196) #262652524D4D1C1C cmyk(38,82,77,28)
         1: ( 9766,21331,20303, 7196) #262653534F4F1C1C cmyk(38,83,79,28)
         2: ( 9766,21331,20817, 7196) #2626535351511C1C cmyk(38,83,81,28)
       110: (10537,11822,23387,  771) #29292E2E5B5B0303 cmyk(41,46,91,3)
        15: (10537,12850,27242,  771) #292932326A6A0303 cmyk(41,50,106,3)
        72: (10537,29555,19789,12336) #292973734D4D3030 cmyk(41,115,77,48)
       113: (10537,30583,24158,12336) #292977775E5E3030 cmyk(41,119,94,48)
         1: (10537,30583,24158,12079) #292977775E5E2F2F cmyk(41,119,94,47)
         1: (10794,30326,20303,12593) #2A2A76764F4F3131 cmyk(42,118,79,49)
        48: (11051,10794,10537,11822) #2B2B2A2A29292E2E cmyk(43,42,41,46)
        19: (11051,11051,10537,12079) #2B2B2B2B29292F2F cmyk(43,43,41,47)
      2883: (11822,11565,11308,12850) #2E2E2D2D2C2C3232 cmyk(46,45,44,50)
         2: (11822,11822,12336,12850) #2E2E2E2E30303232 cmyk(46,46,48,50)
        14: (11822,12079,12593,12850) #2E2E2F2F31313232 cmyk(46,47,49,50)
        16: (11822,12593,15420,12850) #2E2E31313C3C3232 cmyk(46,49,60,50)
         7: (11822,14392,29555,  771) #2E2E383873730303 cmyk(46,56,115,3)
         1: (11822,60138,22359,12336) #2E2EEAEA57573030 cmyk(46,234,87,48)
         4: (12079,33667,22616,13878) #2F2F838358583636 cmyk(47,131,88,54)
         1: (12079,33924,22616,14135) #2F2F848458583737 cmyk(47,132,88,55)
       158: (12079,34695,26471,13878) #2F2F878767673636 cmyk(47,135,103,54)
         1: (12336,10280, 1285,    0) #3030282805050000 cmyk(48,40,5,0)
         1: (12593,11565, 1799,    0) #31312D2D07070000 cmyk(49,45,7,0)
         1: (12593,12336,11822,13621) #313130302E2E3535 cmyk(49,48,46,53)
        19: (13107,10794, 1542,  257) #33332A2A06060101 cmyk(51,42,6,1)
         2: (13107,15677,31868, 1028) #33333D3D7C7C0404 cmyk(51,61,124,4)
         1: (13107,60395,24672,13878) #3333EBEB60603636 cmyk(51,235,96,54)
        15: (13364,13364,12850,14649) #3434343432323939 cmyk(52,52,50,57)
        28: (13621,13364,12850,14649) #3535343432323939 cmyk(53,52,50,57)
        20: (13621,25443,28527, 7453) #353563636F6F1D1D cmyk(53,99,111,29)
         7: (13621,38036,25443,15677) #3535949463633D3D cmyk(53,148,99,61)
        39: (13621,38807,28784,15677) #3535979770703D3D cmyk(53,151,112,61)
        60: (13878,13621,13364,15163) #3636353534343B3B cmyk(54,53,52,59)
       110: (14392,16705,33153, 1028) #3838414181810404 cmyk(56,65,129,4)
        16: (14392,16962,34181, 1028) #3838424285850404 cmyk(56,66,133,4)
       990: (14649,14649,14135,16191) #3939393937373F3F cmyk(57,57,55,63)
         1: (14649,14906,15163,16191) #39393A3A3B3B3F3F cmyk(57,58,59,63)
         1: (14649,60909,27242,15677) #3939EDED6A6A3D3D cmyk(57,237,106,61)
         1: (14906,14906,14392,16448) #3A3A3A3A38384040 cmyk(58,58,56,64)
         7: (15163,42148,28270,17476) #3B3BA4A46E6E4444 cmyk(59,164,110,68)
        34: (15163,42919,31097,17476) #3B3BA7A779794444 cmyk(59,167,121,68)
         1: (15420,43176,28784,17990) #3C3CA8A870704646 cmyk(60,168,112,70)
        22: (15677,15677,15163,17219) #3D3D3D3D3B3B4343 cmyk(61,61,59,67)
         8: (15677,18504,36751, 1028) #3D3D48488F8F0404 cmyk(61,72,143,4)
        64: (15934,15677,15420,17476) #3E3E3D3D3C3C4444 cmyk(62,61,60,68)
         3: (15934,61423,29812,17476) #3E3EEFEF74744444 cmyk(62,239,116,68)
        86: (16191,15934,15420,17476) #3F3F3E3E3C3C4444 cmyk(63,62,60,68)
         1: (16448,14649, 2313,    0) #4040393909090000 cmyk(64,57,9,0)
         1: (16448,16448,15934,18247) #404040403E3E4747 cmyk(64,64,62,71)
         2: (16705,16448,15934,18247) #414140403E3E4747 cmyk(65,64,62,71)
        74: (16705,46517,31097,19275) #4141B5B579794B4B cmyk(65,181,121,75)
       214: (16705,47031,33410,19275) #4141B7B782824B4B cmyk(65,183,130,75)
         6: (16962,19789,39064, 1285) #42424D4D98980505 cmyk(66,77,152,5)
        36: (16962,39321,33667,14392) #4242999983833838 cmyk(66,153,131,56)
         1: (17219,17219,16448,18761) #4343434340404949 cmyk(67,67,64,73)
       104: (17219,61680,32382,19275) #4343F0F07E7E4B4B cmyk(67,240,126,75)
        39: (17476,14392, 2056,  257) #4444383808080101 cmyk(68,56,8,1)
         1: (17733,15677, 2313,    0) #45453D3D09090000 cmyk(69,61,9,0)
      1121: (17733,17476,16962,19275) #4545444442424B4B cmyk(69,68,66,75)
         1: (17733,17733,16962,19532) #4545454542424C4C cmyk(69,69,66,76)
        95: (18247,17990,17476,19789) #4747464644444D4D cmyk(71,70,68,77)
        10: (18247,21074,41377, 1285) #47475252A1A10505 cmyk(71,82,161,5)
        19: (18247,50629,33924,21074) #4747C5C584845252 cmyk(71,197,132,82)
         1: (18247,51143,34181,21331) #4747C7C785855353 cmyk(71,199,133,83)
        62: (18247,51143,35723,21074) #4747C7C78B8B5252 cmyk(71,199,139,82)
         6: (18504,18504,17733,20303) #4848484845454F4F cmyk(72,72,69,79)
        12: (18761,18504,17733,20303) #4949484845454F4F cmyk(73,72,69,79)
        54: (18761,41377,37522,14392) #4949A1A192923838 cmyk(73,161,146,56)
         3: (18761,62194,34952,21074) #4949F2F288885252 cmyk(73,242,136,82)
         1: (19018,16705, 2313,    0) #4A4A414109090000 cmyk(74,65,9,0)
         2: (19275,19018,18504,21074) #4B4B4A4A48485252 cmyk(75,74,72,82)
         9: (19275,19275,18504,21074) #4B4B4B4B48485252 cmyk(75,75,72,82)
       713: (19789,22616,43947, 1542) #4D4D5858ABAB0606 cmyk(77,88,171,6)
        13: (19789,25186,43690, 3084) #4D4D6262AAAA0C0C cmyk(77,98,170,12)
        22: (19789,54998,36751,22873) #4D4DD6D68F8F5959 cmyk(77,214,143,89)
        59: (19789,55255,38036,22873) #4D4DD7D794945959 cmyk(77,215,148,89)
         1: (20046,16705, 2313,  257) #4E4E414109090101 cmyk(78,65,9,1)
         1: (20046,17476, 2313,    0) #4E4E444409090000 cmyk(78,68,9,0)
         5: (20046,28013,43690, 4626) #4E4E6D6DAAAA1212 cmyk(78,109,170,18)
         1: (20046,62451,37522,22873) #4E4EF3F392925959 cmyk(78,243,146,89)
       214: (20303,20046,19532,22359) #4F4F4E4E4C4C5757 cmyk(79,78,76,87)
         8: (20303,30583,43690, 6425) #4F4F7777AAAA1919 cmyk(79,119,170,25)
         1: (20560,17219, 2313,  257) #5050434309090101 cmyk(80,67,9,1)
      1939: (20560,20560,19789,22616) #505050504D4D5858 cmyk(80,80,77,88)
        10: (20560,20560,19789,22359) #505050504D4D5757 cmyk(80,80,77,87)
         7: (20560,33410,43433, 7967) #50508282A9A91F1F cmyk(80,130,169,31)
         7: (20560,36237,27756,23130) #50508D8D6C6C5A5A cmyk(80,141,108,90)
         1: (20817,31354,25443,23130) #51517A7A63635A5A cmyk(81,122,99,90)
         4: (20817,36237,43433, 9766) #51518D8DA9A92626 cmyk(81,141,169,38)
        10: (20817,38807,43433,11308) #51519797A9A92C2C cmyk(81,151,169,44)
         1: (21074,18247, 7196, 6682) #525247471C1C1A1A cmyk(82,71,28,26)
         7: (21074,20817,20303,23130) #525251514F4F5A5A cmyk(82,81,79,90)
        11: (21331,21074,20303,23130) #535352524F4F5A5A cmyk(83,82,79,90)
        14: (21331,44204,43176,14649) #5353ACACA8A83939 cmyk(83,172,168,57)
        28: (21331,59110,39578,24672) #5353E6E69A9A6060 cmyk(83,230,154,96)
        54: (21331,59367,40349,24672) #5353E7E79D9D6060 cmyk(83,231,157,96)
         9: (21588,47031,43176,16448) #5454B7B7A8A84040 cmyk(84,183,168,64)
        16: (21845,18247, 2570,  257) #555547470A0A0101 cmyk(85,71,10,1)
         1: (21845,18761, 2313,    0) #5555494909090000 cmyk(85,73,9,0)
         1: (21845,22616,29555,16705) #5555585873734141 cmyk(85,88,115,65)
         5: (21845,49858,42919,17990) #5555C2C2A7A74646 cmyk(85,194,167,70)
        10: (21845,52428,42919,19789) #5555CCCCA7A74D4D cmyk(85,204,167,77)
         9: (22102,22102,21074,24158) #5656565652525E5E cmyk(86,86,82,94)
        16: (22102,55255,42919,21331) #5656D7D7A7A75353 cmyk(86,215,167,83)
         1: (22359,19275, 2313,    0) #57574B4B09090000 cmyk(87,75,9,0)
        13: (22359,22359,21588,24672) #5757575754546060 cmyk(87,87,84,96)
        28: (22359,23644,34695,13621) #57575C5C87873535 cmyk(87,92,135,53)
         4: (22359,57825,42662,23130) #5757E1E1A6A65A5A cmyk(87,225,166,90)
         7: (22616,22359,21588,24672) #5858575754546060 cmyk(88,87,84,96)
         9: (22616,60652,42662,24672) #5858ECECA6A66060 cmyk(88,236,166,96)
         1: (22873,20303,10023, 9766) #59594F4F27272626 cmyk(89,79,39,38)
         4: (22873,22616,21845,24929) #5959585855556161 cmyk(89,88,85,97)
         5: (22873,22873,21845,24929) #5959595955556161 cmyk(89,89,85,97)
      4455: (22873,63479,42662,26471) #5959F7F7A6A66767 cmyk(89,247,166,103)
         1: (23130,32639,26985,25700) #5A5A7F7F69696464 cmyk(90,127,105,100)
         1: (23387,20046, 2570,    0) #5B5B4E4E0A0A0000 cmyk(91,78,10,0)
      4371: (23644,23387,22616,25700) #5C5C5B5B58586464 cmyk(92,91,88,100)
        11: (23644,23644,22616,25957) #5C5C5C5C58586565 cmyk(92,92,88,101)
         9: (23901,23644,22616,25957) #5D5D5C5C58586565 cmyk(93,92,88,101)
         2: (23901,24672,30840,19789) #5D5D606078784D4D cmyk(93,96,120,77)
        16: (23901,45746,33924,26985) #5D5DB2B284846969 cmyk(93,178,132,105)
         2: (24415,24415,23387,26985) #5F5F5F5F5B5B6969 cmyk(95,95,91,105)
        50: (24672,24415,23644,26985) #60605F5F5C5C6969 cmyk(96,95,92,105)
         1: (24672,24672,23644,26985) #606060605C5C6969 cmyk(96,96,92,105)
        21: (24929,24672,23901,27242) #616160605D5D6A6A cmyk(97,96,93,106)
        15: (24929,24672,23901,26985) #616160605D5D6969 cmyk(97,96,93,105)
         3: (25186,25186,24158,27499) #626262625E5E6B6B cmyk(98,98,94,107)
         3: (25186,25186,24158,27756) #626262625E5E6C6C cmyk(98,98,94,108)
         1: (25443,21588, 2827,    0) #636354540B0B0000 cmyk(99,84,11,0)
         1: (25443,25443,24415,27756) #636363635F5F6C6C cmyk(99,99,95,108)
         1: (25700,25700,24672,28270) #6464646460606E6E cmyk(100,100,96,110)
         1: (25957,22102, 2827,    0) #656556560B0B0000 cmyk(101,86,11,0)
         1: (25957,25700,24672,28270) #6565646460606E6E cmyk(101,100,96,110)
        24: (26214,21845, 3084,  514) #666655550C0C0202 cmyk(102,85,12,2)
        38: (26214,25957,25186,28527) #6666656562626F6F cmyk(102,101,98,111)
         1: (26214,26728,32125,22873) #666668687D7D5959 cmyk(102,104,125,89)
         1: (26471,24158,15420,16191) #67675E5E3C3C3F3F cmyk(103,94,60,63)
        39: (26471,26214,25186,28784) #6767666662627070 cmyk(103,102,98,112)
      1218: (26471,26471,25443,29041) #6767676763637171 cmyk(103,103,99,113)
         1: (26728,22616, 2827,    0) #686858580B0B0000 cmyk(104,88,11,0)
         7: (26728,26728,25700,29298) #6868686864647272 cmyk(104,104,100,114)
         1: (26985,22873, 2827,    0) #696959590B0B0000 cmyk(105,89,11,0)
        12: (26985,26728,25700,29298) #6969686864647272 cmyk(105,104,100,114)
         3: (27499,27242,26214,30069) #6B6B6A6A66667575 cmyk(107,106,102,117)
        17: (27756,27499,26471,30326) #6C6C6B6B67677676 cmyk(108,107,103,118)
         8: (27756,27499,26471,30069) #6C6C6B6B67677575 cmyk(108,107,103,117)
         3: (28013,28013,26728,30583) #6D6D6D6D68687777 cmyk(109,109,104,119)
         1: (28270,28013,26985,30840) #6E6E6D6D69697878 cmyk(110,109,105,120)
         1: (29041,28784,27499,31611) #717170706B6B7B7B cmyk(113,112,107,123)
        35: (29041,28784,27756,31868) #717170706C6C7C7C cmyk(113,112,108,124)
        29: (29041,28784,27756,31611) #717170706C6C7B7B cmyk(113,112,108,123)
         1: (29555,24415, 2827,    0) #73735F5F0B0B0000 cmyk(115,95,11,0)
      1073: (29555,29298,28270,32382) #737372726E6E7E7E cmyk(115,114,110,126)
         2: (30069,24929, 3341,  514) #757561610D0D0202 cmyk(117,97,13,2)
         3: (30069,29812,28784,32896) #7575747470708080 cmyk(117,116,112,128)
         2: (30583,25443, 2827,    0) #777763630B0B0000 cmyk(119,99,11,0)
        17: (30583,25443, 3598,  514) #777763630E0E0202 cmyk(119,99,14,2)
         2: (30583,30326,29298,33410) #7777767672728282 cmyk(119,118,114,130)
         1: (31097,25957, 3341,  514) #797965650D0D0202 cmyk(121,101,13,2)
        10: (31354,31097,29812,34181) #7A7A797974748585 cmyk(122,121,116,133)
         1: (31354,31097,30069,34438) #7A7A797975758686 cmyk(122,121,117,134)
         1: (31611,25957, 3084,    0) #7B7B65650C0C0000 cmyk(123,101,12,0)
         1: (31611,31354,30326,34695) #7B7B7A7A76768787 cmyk(123,122,118,135)
         2: (31868,26214, 3084,    0) #7C7C66660C0C0000 cmyk(124,102,12,0)
         2: (31868,31611,30326,34695) #7C7C7B7B76768787 cmyk(124,123,118,135)
         1: (32125,29298,16191,16448) #7D7D72723F3F4040 cmyk(125,114,63,64)
      3497: (32382,32382,31097,35466) #7E7E7E7E79798A8A cmyk(126,126,121,138)
         1: (32896,26985, 2827,    0) #808069690B0B0000 cmyk(128,105,11,0)
         1: (32896,32639,31611,35980) #80807F7F7B7B8C8C cmyk(128,127,123,140)
         1: (32896,32896,31611,35980) #808080807B7B8C8C cmyk(128,128,123,140)
        10: (33153,33153,31611,36237) #818181817B7B8D8D cmyk(129,129,123,141)
         1: (33410,27499, 2827,    0) #82826B6B0B0B0000 cmyk(130,107,11,0)
         1: (33410,27756, 3855,  514) #82826C6C0F0F0202 cmyk(130,108,15,2)
         1: (33410,30583,18761,19532) #8282777749494C4C cmyk(130,119,73,76)
         2: (33410,33153,31868,36494) #828281817C7C8E8E cmyk(130,129,124,142)
         1: (33667,27756, 2827,    0) #83836C6C0B0B0000 cmyk(131,108,11,0)
         4: (33924,33924,32382,37008) #848484847E7E9090 cmyk(132,132,126,144)
         2: (34181,33924,32382,37265) #858584847E7E9191 cmyk(133,132,126,145)
         1: (34438,28013, 2827,    0) #86866D6D0B0B0000 cmyk(134,109,11,0)
         1: (34695,28270, 2827,    0) #87876E6E0B0B0000 cmyk(135,110,11,0)
         1: (34695,34695,33153,38036) #8787878781819494 cmyk(135,135,129,148)
        59: (34952,29041, 4112,  514) #8888717110100202 cmyk(136,113,16,2)
         1: (35209,29298, 4112,  514) #8989727210100202 cmyk(137,114,16,2)
         1: (35466,29041, 2827,    0) #8A8A71710B0B0000 cmyk(138,113,11,0)
       772: (35466,35209,33924,38807) #8A8A898984849797 cmyk(138,137,132,151)
        17: (35466,35466,33924,38807) #8A8A8A8A84849797 cmyk(138,138,132,151)
         1: (35723,29298, 2827,    0) #8B8B72720B0B0000 cmyk(139,114,11,0)
         1: (35723,33667,23901,25957) #8B8B83835D5D6565 cmyk(139,131,93,101)
         5: (35723,35466,33924,38807) #8B8B8A8A84849797 cmyk(139,138,132,151)
         2: (35723,35466,34181,39064) #8B8B8A8A85859898 cmyk(139,138,133,152)
         1: (35980,35723,34438,39321) #8C8C8B8B86869999 cmyk(140,139,134,153)
         1: (36237,29555, 2827,    0) #8D8D73730B0B0000 cmyk(141,115,11,0)
         1: (36494,29812, 2827,    0) #8E8E74740B0B0000 cmyk(142,116,11,0)
         1: (36494,30583, 4112,  514) #8E8E777710100202 cmyk(142,119,16,2)
         1: (36494,36237,34695,39835) #8E8E8D8D87879B9B cmyk(142,141,135,155)
         1: (36751,30069, 2570,    0) #8F8F75750A0A0000 cmyk(143,117,10,0)
         3: (36751,30840, 4112,  514) #8F8F787810100202 cmyk(143,120,16,2)
         1: (37008,30840, 4112,  514) #9090787810100202 cmyk(144,120,16,2)
         8: (37265,32896,14135,13107) #9191808037373333 cmyk(145,128,55,51)
         1: (37779,30840, 2570,    0) #939378780A0A0000 cmyk(147,120,10,0)
         3: (37779,37522,35980,41377) #939392928C8CA1A1 cmyk(147,146,140,161)
         1: (38036,37779,36237,41634) #949493938D8DA2A2 cmyk(148,147,141,162)
       735: (38293,38293,36751,41891) #959595958F8FA3A3 cmyk(149,149,143,163)
         1: (38550,31354, 2570,    0) #96967A7A0A0A0000 cmyk(150,122,10,0)
         2: (38807,38550,37008,42405) #979796969090A5A5 cmyk(151,150,144,165)
         1: (39321,32639, 4369,  514) #99997F7F11110202 cmyk(153,127,17,2)
        15: (39321,32639, 4626,  771) #99997F7F12120303 cmyk(153,127,18,3)
         1: (39578,39321,37779,43176) #9A9A99999393A8A8 cmyk(154,153,147,168)
         2: (40092,32639, 2570,    0) #9C9C7F7F0A0A0000 cmyk(156,127,10,0)
         4: (40092,39835,38036,43690) #9C9C9B9B9494AAAA cmyk(156,155,148,170)
         1: (40606,33153, 2570,    0) #9E9E81810A0A0000 cmyk(158,129,10,0)
         3: (40863,34181, 4626,  771) #9F9F858512120303 cmyk(159,133,18,3)
       558: (41120,40863,39321,44975) #A0A09F9F9999AFAF cmyk(160,159,153,175)
       554: (41377,41120,39578,45232) #A1A1A0A09A9AB0B0 cmyk(161,160,154,176)
         1: (42148,35209, 4883,  514) #A4A4898913130202 cmyk(164,137,19,2)
         7: (42148,41891,40092,46003) #A4A4A3A39C9CB3B3 cmyk(164,163,156,179)
         1: (42405,35209, 4883,  514) #A5A5898913130202 cmyk(165,137,19,2)
         1: (42405,35466, 4883,  771) #A5A58A8A13130303 cmyk(165,138,19,3)
         1: (42405,42148,40349,46260) #A5A5A4A49D9DB4B4 cmyk(165,164,157,180)
         2: (42662,34438, 2827,    0) #A6A686860B0B0000 cmyk(166,134,11,0)
         1: (42662,42405,40863,46774) #A6A6A5A59F9FB6B6 cmyk(166,165,159,182)
         1: (42919,35723, 4883,  771) #A7A78B8B13130303 cmyk(167,139,19,3)
         2: (43433,43176,41634,47545) #A9A9A8A8A2A2B9B9 cmyk(169,168,162,185)
         1: (43690,35209, 2570,    0) #AAAA89890A0A0000 cmyk(170,137,10,0)
        17: (43690,36494, 5140,  771) #AAAA8E8E14140303 cmyk(170,142,20,3)
         1: (44461,35723, 2570,    0) #ADAD8B8B0A0A0000 cmyk(173,139,10,0)
         2: (44461,37008, 5140,  771) #ADAD909014140303 cmyk(173,144,20,3)
     11679: (44461,44204,42405,48573) #ADADACACA5A5BDBD cmyk(173,172,165,189)
         1: (44975,36237, 2570,    0) #AFAF8D8D0A0A0000 cmyk(175,141,10,0)
         1: (45232,38036, 5911, 1542) #B0B0949417170606 cmyk(176,148,23,6)
         1: (46003,37008, 2313,    0) #B3B3909009090000 cmyk(179,144,9,0)
         1: (46260,37265, 2313,    0) #B4B4919109090000 cmyk(180,145,9,0)
         1: (46260,41891,22616,22873) #B4B4A3A358585959 cmyk(180,163,88,89)
         1: (46517,41634,20303,19789) #B5B5A2A24F4F4D4D cmyk(181,162,79,77)
         1: (46774,39064, 5397,  771) #B6B6989815150303 cmyk(182,152,21,3)
        14: (47031,41120,15420,13364) #B7B7A0A03C3C3434 cmyk(183,160,60,52)
         1: (47288,38036, 2313,    0) #B8B8949409090000 cmyk(184,148,9,0)
         1: (47545,38550, 2313,    0) #B9B9969609090000 cmyk(185,150,9,0)
         1: (48059,38807, 2056,    0) #BBBB979708080000 cmyk(187,151,8,0)
        53: (48059,40092, 5654,  771) #BBBB9C9C16160303 cmyk(187,156,22,3)
         1: (48830,39321, 2056,    0) #BEBE999908080000 cmyk(190,153,8,0)
         1: (49087,40863, 5654,  771) #BFBF9F9F16160303 cmyk(191,159,22,3)
         1: (49344,39835, 2056,    0) #C0C09B9B08080000 cmyk(192,155,8,0)
         1: (50372,40863, 2056,    0) #C4C49F9F08080000 cmyk(196,159,8,0)
         1: (51143,41377, 2056,    0) #C7C7A1A108080000 cmyk(199,161,8,0)
         1: (51657,41634, 2056,    0) #C9C9A2A208080000 cmyk(201,162,8,0)
         1: (52428,42662, 2056,    0) #CCCCA6A608080000 cmyk(204,166,8,0)
        15: (52428,43690, 6168, 1028) #CCCCAAAA18180404 cmyk(204,170,24,4)
         1: (53199,43176, 2056,    0) #CFCFA8A808080000 cmyk(207,168,8,0)
         1: (53456,43433, 2056,    0) #D0D0A9A908080000 cmyk(208,169,8,0)
         1: (53970,43690, 2056,    0) #D2D2AAAA08080000 cmyk(210,170,8,0)
         1: (54484,44461, 2056,    0) #D4D4ADAD08080000 cmyk(212,173,8,0)
         1: (55255,44975, 2056,    0) #D7D7AFAF08080000 cmyk(215,175,8,0)
         1: (55512,45232, 1799,    0) #D8D8B0B007070000 cmyk(216,176,7,0)
         1: (56540,46003, 1799,    0) #DCDCB3B307070000 cmyk(220,179,7,0)
        11: (56797,47288, 6682, 1028) #DDDDB8B81A1A0404 cmyk(221,184,26,4)
         1: (57568,47031, 1799,    0) #E0E0B7B707070000 cmyk(224,183,7,0)
         1: (58596,47802, 1542,    0) #E4E4BABA06060000 cmyk(228,186,6,0)
         1: (59881,48830, 1542,    0) #E9E9BEBE06060000 cmyk(233,190,6,0)
         7: (59881,51914,16962,13878) #E9E9CACA42423636 cmyk(233,202,66,54)
        22: (61166,50886, 7196, 1028) #EEEEC6C61C1C0404 cmyk(238,198,28,4)
         1: (61423,49858, 1799,    0) #EFEFC2C207070000 cmyk(239,194,7,0)
         1: (63479,51400, 2056,    0) #F7F7C8C808080000 cmyk(247,200,8,0)
         2: (63993,51657, 2313,    0) #F9F9C9C909090000 cmyk(249,201,9,0)
         1: (64764,52685, 2827,    0) #FCFCCDCD0B0B0000 cmyk(252,205,11,0)
         1: (65021,52942, 3084,    0) #FDFDCECE0C0C0000 cmyk(253,206,12,0)
         2: (65278,53199, 3341,    0) #FEFECFCF0D0D0000 cmyk(254,207,13,0)
         1: (65278,53456, 3855,  257) #FEFED0D00F0F0101 cmyk(254,208,15,1)
         1: (65278,53713, 4112,  257) #FEFED1D110100101 cmyk(254,209,16,1)
         1: (65535,54227, 5654,  514) #FFFFD3D316160202 cmyk(255,211,22,2)
         1: (65535,54741, 6939,  771) #FFFFD5D51B1B0303 cmyk(255,213,27,3)
         2: (65535,54741, 7196, 1028) #FFFFD5D51C1C0404 cmyk(255,213,28,4)
         2: (65535,54741, 7453, 1028) #FFFFD5D51D1D0404 cmyk(255,213,29,4)
       272: (65535,54741, 7710, 1285) #FFFFD5D51E1E0505 cmyk(255,213,30,5)
  Rendering intent: Undefined
  Interlace: None
  Background color: cmyk(255,255,255,0)
  Border color: cmyk(223,223,223,0)
  Matte color: cmyk(189,189,189,0)
  Transparent color: cmyk(0,0,0,0)
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-26T09:59:16-05:00
    date:modify: 2012-01-26T09:59:16-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:SpotColor-0: PANTONE Blue 072 CVC
    pdf:SpotColor-1: PANTONE 7506 C
    pdf:SpotColor-2: PANTONE 873 C
    pdf:SpotColor-3: PANTONE 7421 C
    pdf:SpotColor-4: guides
    pdf:Version: PDF-1.4

    signature: 1b79172b2495dcb170907a1343b7b119564ac03289807dd923b2ce47525e8ecc
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 2.004MB
  Number pixels: 501K
  Pixels per second: 31.31MB
  User time: 0.016u
  Elapsed time: 0:01.016
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
RGB Spot Color:

Code: Select all

Image: C:\spot.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: TrueColorMatte
  Endianess: Undefined
  Colorspace: RGB
  Depth: 16/8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 8-bit
  Channel statistics:
    Red:
      min: 7710 (0.117647)
      max: 65535 (1)
      mean: 61669 (0.941008)
      standard deviation: 13309.2 (0.203085)
      kurtosis: 9.99831
      skewness: -3.39233
    Green:
      min: 0 (0)
      max: 65535 (1)
      mean: 61161 (0.933257)
      standard deviation: 14686.6 (0.224103)
      kurtosis: 8.9944
      skewness: -3.26247
    Blue:
      min: 7967 (0.121569)
      max: 65535 (1)
      mean: 61274.2 (0.934984)
      standard deviation: 14106.6 (0.215252)
      kurtosis: 8.84843
      skewness: -3.23614
    Alpha:
      min: 0 (0)
      max: 65535 (1)
      mean: 10421.5 (0.159022)
      standard deviation: 23474.8 (0.358202)
      kurtosis: 1.53964
      skewness: -1.86341
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 59804.4 (0.912557)
      standard deviation: 16903.3 (0.257928)
      kurtosis: 6.73424
      skewness: -2.93095
  Alpha: rgba(255,255,255,0)   #FFFFFFFFFFFF0000
  Colors: 367
  Rendering intent: Undefined
  Interlace: None
  Background color: white
  Border color: rgba(223,223,223,1)
  Matte color: grey74
  Transparent color: none
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-26T10:13:18-05:00
    date:modify: 2012-01-26T10:13:18-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:SpotColor-0: PANTONE Blue 072 CVC
    pdf:SpotColor-1: PANTONE 7506 C
    pdf:SpotColor-2: PANTONE 873 C
    pdf:SpotColor-3: PANTONE 7421 C
    pdf:SpotColor-4: guides
    pdf:Version: PDF-1.4

    signature: 00224b8e512f089aca66aef194c635d2e556f7885d092145b1a11284ee181e9d
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 57.5KB
  Number pixels: 501K
  Pixels per second: 23.86MB
  User time: 0.016u
  Elapsed time: 0:01.020
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
RGB Process Color:

Code: Select all

Image: C:\process.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: TrueColorMatte
  Endianess: Undefined
  Colorspace: RGB
  Depth: 16/8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 8-bit
  Channel statistics:
    Red:
      min: 7710 (0.117647)
      max: 65535 (1)
      mean: 61668.9 (0.941008)
      standard deviation: 13309.2 (0.203085)
      kurtosis: 9.99822
      skewness: -3.39232
    Green:
      min: 0 (0)
      max: 65535 (1)
      mean: 61160.9 (0.933256)
      standard deviation: 14686.7 (0.224104)
      kurtosis: 8.99429
      skewness: -3.26246
    Blue:
      min: 7967 (0.121569)
      max: 65535 (1)
      mean: 61274.1 (0.934983)
      standard deviation: 14106.6 (0.215253)
      kurtosis: 8.84832
      skewness: -3.23613
    Alpha:
      min: 0 (0)
      max: 65535 (1)
      mean: 10421.5 (0.159022)
      standard deviation: 23474.8 (0.358202)
      kurtosis: 1.53964
      skewness: -1.86341
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 59804.4 (0.912556)
      standard deviation: 16903.4 (0.257929)
      kurtosis: 6.73419
      skewness: -2.93094
  Alpha: rgba(255,255,255,0)   #FFFFFFFFFFFF0000
  Colors: 370
  Rendering intent: Undefined
  Interlace: None
  Background color: white
  Border color: rgba(223,223,223,1)
  Matte color: grey74
  Transparent color: none
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-26T10:12:49-05:00
    date:modify: 2012-01-26T10:12:49-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:Version: PDF-1.4

    signature: e8fbaa77d4240e8f04d5675c06dd916eac324e6ae384830ced65b4962f4ca14a
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 57.5KB
  Number pixels: 501K
  Pixels per second: 23.86MB
  User time: 0.016u
  Elapsed time: 0:01.020
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
CMYK Spot Color:

Code: Select all

Image: C:\cmyk spot color.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: ColorSeparation
  Base type: ColorSeparation
  Endianess: Undefined
  Colorspace: CMYK
  Depth: 16/8-bit
  Channel depth:
    cyan: 8-bit
    magenta: 8-bit
    yellow: 8-bit
    black: 8-bit
  Channel statistics:
    Cyan:
      min: 0 (0)
      max: 65535 (1)
      mean: 2577.43 (0.0393291)
      standard deviation: 9323.16 (0.142262)
      kurtosis: 14.3792
      skewness: 3.86264
    Magenta:
      min: 0 (0)
      max: 63993 (0.976471)
      mean: 2945.76 (0.0449494)
      standard deviation: 10569.4 (0.161278)
      kurtosis: 15.1299
      skewness: 3.91034
    Yellow:
      min: 0 (0)
      max: 48059 (0.733333)
      mean: 2987.26 (0.0455827)
      standard deviation: 9694.7 (0.147932)
      kurtosis: 11.6334
      skewness: 3.56361
    Black:
      min: 0 (0)
      max: 57825 (0.882353)
      mean: 3019.43 (0.0460736)
      standard deviation: 11135.5 (0.169916)
      kurtosis: 14.6454
      skewness: 3.9171
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 2882.47 (0.0439837)
      standard deviation: 10205.6 (0.155728)
      kurtosis: 14.5116
      skewness: 3.86305
  Total ink density: 295%
  Colors: 427
  Rendering intent: Undefined
  Interlace: None
  Background color: cmyk(255,255,255,0)
  Border color: cmyk(223,223,223,0)
  Matte color: cmyk(189,189,189,0)
  Transparent color: cmyk(0,0,0,0)
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-26T10:13:40-05:00
    date:modify: 2012-01-26T10:13:40-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:SpotColor-0: PANTONE Blue 072 CVC
    pdf:SpotColor-1: PANTONE 7506 C
    pdf:SpotColor-2: PANTONE 873 C
    pdf:SpotColor-3: PANTONE 7421 C
    pdf:SpotColor-4: guides
    pdf:Version: PDF-1.4

    signature: e5b7b69b9153aee277a751f7e1147cb5998610b7d7a80b41c5086bbc9e839384
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 2.004MB
  Number pixels: 501K
  Pixels per second: 38.54MB
  User time: 0.016u
  Elapsed time: 0:01.013
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
CMYK Process Color:

Code: Select all

Image: C:\cmyk process.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 595x842+0+0
  Resolution: 72x72
  Print size: 8.26389x11.6944
  Units: Undefined
  Type: ColorSeparation
  Base type: ColorSeparation
  Endianess: Undefined
  Colorspace: CMYK
  Depth: 16/8-bit
  Channel depth:
    cyan: 8-bit
    magenta: 8-bit
    yellow: 8-bit
    black: 8-bit
  Channel statistics:
    Cyan:
      min: 0 (0)
      max: 65535 (1)
      mean: 2580.58 (0.0393771)
      standard deviation: 9328.81 (0.142348)
      kurtosis: 14.3378
      skewness: 3.85774
    Magenta:
      min: 0 (0)
      max: 63736 (0.972549)
      mean: 2940.39 (0.0448675)
      standard deviation: 10553.2 (0.161032)
      kurtosis: 15.0566
      skewness: 3.90403
    Yellow:
      min: 0 (0)
      max: 47031 (0.717647)
      mean: 2970.13 (0.0453212)
      standard deviation: 9640.03 (0.147097)
      kurtosis: 11.5645
      skewness: 3.5577
    Black:
      min: 0 (0)
      max: 57825 (0.882353)
      mean: 3019.43 (0.0460736)
      standard deviation: 11135.5 (0.169916)
      kurtosis: 14.6454
      skewness: 3.9171
  Image statistics:
    Overall:
      min: 0 (0)
      max: 65535 (1)
      mean: 2877.63 (0.0439098)
      standard deviation: 10189.8 (0.155486)
      kurtosis: 14.487
      skewness: 3.86055
  Total ink density: 295%
  Colors: 426
  Rendering intent: Undefined
  Interlace: None
  Background color: cmyk(255,255,255,0)
  Border color: cmyk(223,223,223,0)
  Matte color: cmyk(189,189,189,0)
  Transparent color: cmyk(0,0,0,0)
  Compose: Over
  Page geometry: 595x842+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    date:create: 2012-01-26T10:14:02-05:00
    date:modify: 2012-01-26T10:14:02-05:00
    pdf:HiResBoundingBox: 595x842+0+0
    pdf:Version: PDF-1.4

    signature: cb60163b84142c705ba39a7277e77a704f67ec406d49d42034e10c2d4a468017
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 2.004MB
  Number pixels: 501K
  Pixels per second: 35.79MB
  User time: 0.016u
  Elapsed time: 0:01.013
  Version: ImageMagick 6.7.4-9 2012-01-20 Q16 http://www.imagemagick.org
I don't know if this has anything to do with color seperations or just the conversion itself. IM seems to be able to convert Pantone colors just fine when the file is in any RGB color mode but not CMYK using Process.

Also I tried using different profiles and nothing was successful. I acheived very similar results in some cases but the only ones that came close were the onese that used the RGB colorspace. I tried searching for a Pantone profile but was unable to find one (but this may be due to some copyright or proprietary reasons).

Again any help is greatly appreciated (and thank you for the replies).
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PDF conversion making image darker...

Post by fmw42 »

Did you try my two suggested conversions using profiles? If so and that did not work, try changing the second profile to RGB rather than sRGB and see if that helps.

Is it possible to create a simple test pdf that has your problem and post a link to it?
User avatar
demonpiggies
Posts: 4
Joined: 2012-01-23T14:59:33-07:00
Authentication code: 8675308
Location: Rhode Island

Re: PDF conversion making image darker...

Post by demonpiggies »

We tried your suggestions (multiple times) and there was no difference from our earlier tests. I tried loading other *.icc's with varying effects but nothing corrected the discoloration. I also played with changing the resulting image's settings (profile, res, etc) with no success. The same issue appear either way.

I do not have adobe Illustrator nor any other Adobe software (not that I need Adobe to create PDFs but this is was created with an Adobe product). The only things that I can say with certainity is that this document only uses Pantitone colors (in the original) and uses vectors.

I believe this has to deal with Pantone to RGB conversion. And possibly with CMYK. Sorry I know this is/was difficult to answer with little help from me.

On the flip side I was able to correctly to do this conversion using only Ghostscript. I did nothing other than change the resolution (changed from the default of 72dpi). My team has decided (for the sake of time) to just use GS rather than keep persuing this avenue.

(Sorry I thought I posted this days ago but appearently I didn't)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: PDF conversion making image darker...

Post by anthony »

demonpiggies wrote: I cleared up the yellow but the colors of the image are darker, major color shift (see attached).

Code: Select all

convert.exe -density 600x600 -flatten -colorspace sRGB -render "C:\test.pdf" "c:\testPDF_render.jpg"
Image
Using that png image as input, I can make the left about as dark as the original right, using...
convert http://i.imgur.com/Bfzxt.png -colorspace sRGB -set colorspace RGB modified jpg:
But not exactly the same.

I think ghostscript is converting the results to sRGB colorspace, but whatever you used to generate the left size is not (linear RGB output).

This can 'undo' the sRGB effect I am seeing on the right side, makign it brighter.

Code: Select all

convert http://i.imgur.com/Bfzxt.png -strip -gamma 2.2 gamma_mod.jpg

NOTE: these are only guesses on my part.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: PDF conversion making image darker...

Post by Drarakel »

Hi,

It's not Ghostscript that converts the image to linear RGB, but ImageMagick.
The "-colorspace sRGB" before the input tells IM to use a Ghostscript command with a RGB output device, but it also converts to 'sRGB' (which is still linear RGB for IM) after it gets the the correct output from GS. In older IM versions, this was no big issue, as it converted the image back to 'RGB' automatically if the output format in IM didn't know other RGB colorspaces. This behaviour has changed some versions ago. But here, "-colorspace sRGB" is the wrong option anyway.

@demonpiggies: So, if you still want to read PDFs within ImageMagick, better use that command instead of your first one:

Code: Select all

convert.exe -density 600x600 -colorspace RGB "C:\test.pdf" -background white -flatten "c:\testPDF_render.jpg"
(Instead of "-flatten", you can also use "-alpha flatten" in a current IM version. Which will be "-alpha remove" soon, as I read.)

If you also got wrong results with commands that omitted "-colorspace sRGB", where you perhaps tried to do a conversion with color profiles: One reason can be the omission of the right output color profile for Ghostscript itself (but if no such profile was ever specified, it usually uses a correct one itself). The most probable reason is the GS "-dUseCIEColor" option that ImageMagick adds if it recognizes the PDF as CMYK (without a "-colorspace" option). In my opinion, that option was more harmful than it helped even back in the days when Ghostscript had no fully developed color management. But now, it's just harmful. It usually prevents the user from doing a correct conversion with profiles afterwards. (Which isn't that simple anyway. A PDF is not just an image with an embedded color profile.)
The last two things are problems from within ImageMagick. But Ghostscript also has a small issue - if an outputintent profile is given in the PDF. Ghostscript doesn't use that and in these cases one has to override e.g. "-sDefaultCMYKProfile" if one wants to get the same result as with an Adobe product.

But basically, you don't have to worry about most of these things with a current Ghostscript (>= 9.0). In ImageMagick, just place "-colorspace RGB" before the input PDF (unless you don't want RGB).
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: PDF conversion making image darker...

Post by anthony »

Drarakel wrote: If you also got wrong results with commands that omitted "-colorspace sRGB", where you perhaps tried to do a conversion with color profiles:
It seems that conversion from IM sRGB (actually linear RGB) back to IM RGB (actually sRGB for save) has boken in a recent version of IM. It now does nothing. Examples for resizing with colorpspace correction, from just a couple of months ago are now no longer working! I have reported this.
But basically, you don't have to worry about most of these things with a current Ghostscript (>= 9.0). In ImageMagick, just place "-colorspace RGB" before the input PDF (unless you don't want RGB).
Well that is good.

You may like to look at the discussion in "Digital Processing" on the future of colorspace handling in IMv7, Your ideas and suggestions may be useful.
viewtopic.php?f=22&t=20270
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: PDF conversion making image darker...

Post by Drarakel »

Thanks for that link!
Maybe I will have some remarks. Though, with a lot of these things, colorspaces, etc., my head spins, too. :)
Post Reply