Convert to CMYK and back to RGB for print preview
Posted: 2007-06-06T04:22:02-07:00
Hi. I hope this isn't too dumb a question, but I'm sort of stuck and could really use some help.
I'm trying to show how uploaded images will look when coming out of a printer -- not any particular model, just a generic test to show the difference between an RGB image and what a printer can output.
I've tried the following to convert it once to CMYK and then back to RGB for viewing through a web browser -- but it doesn't seem to do anything, not even an error:
convert uploaded_image.jpg -colorspace CMYK cmyk.jpg
mogrify -colorspace RGB cmyk.jpg
Even this still returns information saying that it's still an RGB image:
mogrify -colorspace CMYK uploaded_image.jpg
identify -verbose uploaded_image.jpg
I've also uploaded a printer icc file I have on my computer and tried this without any luck:
mogrify -profile /var/tmp/printer.icc uploaded.jpg
As per the instructions under -colorspace, I tried this to see what options are available, but it returns an error that "colorspace" is not a valid -list option:
identify -list colorspace
I'm sort of stuck with ImageMagick 6.0.7 running on RHEL 4, but I don't suppose it's the version I'm using that's the problem? If not, does anyone see what I'm doing wrong?
Thanks.
I'm trying to show how uploaded images will look when coming out of a printer -- not any particular model, just a generic test to show the difference between an RGB image and what a printer can output.
I've tried the following to convert it once to CMYK and then back to RGB for viewing through a web browser -- but it doesn't seem to do anything, not even an error:
convert uploaded_image.jpg -colorspace CMYK cmyk.jpg
mogrify -colorspace RGB cmyk.jpg
Even this still returns information saying that it's still an RGB image:
mogrify -colorspace CMYK uploaded_image.jpg
identify -verbose uploaded_image.jpg
I've also uploaded a printer icc file I have on my computer and tried this without any luck:
mogrify -profile /var/tmp/printer.icc uploaded.jpg
As per the instructions under -colorspace, I tried this to see what options are available, but it returns an error that "colorspace" is not a valid -list option:
identify -list colorspace
I'm sort of stuck with ImageMagick 6.0.7 running on RHEL 4, but I don't suppose it's the version I'm using that's the problem? If not, does anyone see what I'm doing wrong?
Thanks.