Hey all
Firstly 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.
What command do I need to run to convert the image to CMYK so it will print out correctly in the PDF?
Cheers
Please someone, RGB to CMYK conversion help needed
Re: Please someone, RGB to CMYK conversion help needed
Anyone?
Figured out something like this
convert upload/img_ad.jpg -profile CMYK_PROFILE upload/img_ad2.jpg
but dont have a valid icc or icm file that will work, I am a web dev and know nothing of colour profiles etc
please anyone?
Figured out something like this
convert upload/img_ad.jpg -profile CMYK_PROFILE upload/img_ad2.jpg
but dont have a valid icc or icm file that will work, I am a web dev and know nothing of colour profiles etc
please anyone?
Last edited by mortuk on 2007-07-17T01:38:48-07:00, edited 1 time in total.
Re: Please someone, RGB to CMYK conversion help needed
come on someone this cant b hard, i just hhave no idea due to the colour proifiles, anyone help me out?
Re: Please someone, RGB to CMYK conversion help needed
bump ^
pretty urgently need an answer, please can ANYONE help? I know its possible i just dont know what I am doing wrong
pretty urgently need an answer, please can ANYONE help? I know its possible i just dont know what I am doing wrong
Re: Please someone, RGB to CMYK conversion help needed
I've got the AdobeICCProfiles-2.0-31 rpm installed which provides quite a few ICC profiles.
convert rgb_file.jpg -profile path/to/srgb.icm -profile path/to/cmyk.icc cmyk_file.jpg
You can also use the utilities from the liblcms package as well. "jpegicc" and "icctrans" come to mind. http://www.littlecms.com
convert rgb_file.jpg -profile path/to/srgb.icm -profile path/to/cmyk.icc cmyk_file.jpg
You can also use the utilities from the liblcms package as well. "jpegicc" and "icctrans" come to mind. http://www.littlecms.com