Page 1 of 1

CMJN channel replacement compatibility?

Posted: 2008-12-05T06:27:20-07:00
by kriks
Hello,

some months ago, we had the problem of converting CMJN PDFs to RVB png/jpg, and couldn't figure out why it did not work.
viewtopic.php?f=1&t=11741

Today I heard that the people who make the PDF are replacing the Magenta channel with one personal color, for reducing printing costs. (I think they work with indesign)

Is imagemagick capable of handling this situation?

I can provide one PDF if necessary.

Re: CMJN channel replacement compatibility?

Posted: 2008-12-05T06:42:25-07:00
by magick
Is imagemagick capable of handling this situation?
Perhaps but first you need to define what you want ImageMagick to do.

Re: CMJN channel replacement compatibility?

Posted: 2008-12-05T06:49:22-07:00
by kriks
Sorry if I wasn't clear.

I want to know if imagemagick is capable to use another color than Magenta for the M channel, and if it can read the good color from the PDF.

I suppose the "good color" is written somewhere in the PDF, because the PDF looks good in adobe reader.

Re: CMJN channel replacement compatibility?

Posted: 2008-12-05T07:04:20-07:00
by magick
ImageMagick uses Ghostscript to render your PDF image. Use it directly from the command line:
  • gs image.pdf
Does your PDF render to your satisfaction? If so you can generate that rendering with ImageMagick by preceding the image filename with -colorspace rgb:
  • convert -colorspace RGB image.pdf image.png

Re: CMJN channel replacement compatibility?

Posted: 2008-12-08T08:20:42-07:00
by kriks
Sorry I'm not at ease with ghostscript.

here is what I'm doing for testing

Code: Select all

$ gs 1701_REIMS.pdf
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 0 0 1118 724
%%HiResBoundingBox: 0.000000 0.000000 1117.421966 723.401978
>>showpage, press <return> to continue<<
but it doesn't display anything. I must do something wrong :?