CMJN channel replacement compatibility?

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
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

CMJN channel replacement compatibility?

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: CMJN channel replacement compatibility?

Post by magick »

Is imagemagick capable of handling this situation?
Perhaps but first you need to define what you want ImageMagick to do.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: CMJN channel replacement compatibility?

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: CMJN channel replacement compatibility?

Post 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
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: CMJN channel replacement compatibility?

Post 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 :?
Post Reply