Please someone, RGB to CMYK conversion help needed in ImageMagick, or any way tbh!

Associate
Joined
18 Oct 2002
Posts
1,312
Location
Milton Keynes
Hey all

Am a total n00b to Image Magick.

I have made a system for a client which enables their dealers to make bespoke adverts with their dealership info on them. It also has a logo. The problem I am having is when it generates it all into a PDF, the logo comes out in RGB instead of CMYK.

Even if I use a CMYK logo, it will still come up as RGB in the PDF. Pretty sure this is because PHP alters the image. Been usig this command, which makes a 2nd image but it doesnt appear to be CMYK, think something to do with the colour profiles. someone lend a hand?

convert upload/img.jpg -profile CMYK_PROFILE upload/img2.jpg

Cheers
 
I work at a printers and AFAIK, PDFs are always RGB. Our RIP at work converts RGB PDFs to CMYK. I can look into it for you =)

Edit: Ok disregard that, I am 100% sure you can have CMYK PDF's :o
 
Last edited:
Hey, cheers for replying

I know you can have CMYK PDF's, just the problem is with one element on the PDF.

These PDF's have been dynamically generated, and the logo element that is uploaded via a form and some PHP jiggery is coming out as RGB when the rest of the document is in CMYK.

Need some way to change the RGB image logo to CMYK colourspace using an automated method, ie PHP script / Imagemagick, but it isnt having it.

P.S. What do you mean by your RIP?
 
Back
Top Bottom