Thanks for the answers, but I'm still somewhat confused
fmw42 wrote:I believe, though am not positive, that most IM functions that mix different color effects probably need to be done in RGB. So you may have to convert your CMYK image to RGB
The input jpeg already is in RGB and seems to have a profile attached. So I guess I can skip this step? Or do I still have to do the "-depth 16 -gamma 0.454545" step?
Here is the information from the input file:
Code: Select all
$ identify -verbose DSC_0304.JPG |egrep -i '(profile|colorspace)'
Colorspace: RGB
exif:ColorSpace: 1
jpeg:colorspace: 2
Profiles:
Profile-exif: 65532 bytes
$
Yeah, I found that. And I downloaded the profile files for my printer from xerox. But none of the files in the downloaded zip seem to be suitable. Here is the file list of the printer profiles:
Code: Select all
$ unzip -t ~/Downloads/CQ8700-8900_Pantone.zip | grep -v '/ '
Archive: /home/jw/Downloads/CQ8700-8900_Pantone.zip
testing: CQ8700-8900_Pantone/Application Support Files/Adobe/Illustrator/Xerox ColorQube 8700_8900.ai OK
testing: CQ8700-8900_Pantone/Application Support Files/Adobe/Indesign/Xerox ColorQube 8700_8900.acb OK
testing: CQ8700-8900_Pantone/Application Support Files/Adobe/Photoshop/Xerox ColorQube 8700_8900.aco OK
testing: CQ8700-8900_Pantone/Application Support Files/Corel/CorelDesigner/Xerox ColorQube 8700_8900.cpl OK
testing: CQ8700-8900_Pantone/Application Support Files/Corel/CorelDesigner/Xerox ColorQube 8700_8900.pal OK
testing: CQ8700-8900_Pantone/Application Support Files/Corel/CorelDesigner/Xerox ColorQube 8700_8900.pl4 OK
testing: CQ8700-8900_Pantone/Application Support Files/Corel/CorelDraw/Xerox ColorQube 8700_8900.cpl OK
testing: CQ8700-8900_Pantone/Application Support Files/Corel/CorelDraw/Xerox ColorQube 8700_8900.pal OK
testing: CQ8700-8900_Pantone/Application Support Files/Quark/Xerox ColorQube 8700_8900 UI Spec.cui OK
testing: CQ8700-8900_Pantone/Application Support Files/Quark/Xerox ColorQube 8700_8900.qcl OK
testing: CQ8700-8900_Pantone/Application Support Files/Quark/Xerox ColorQube 8700_8900.qxd OK
testing: CQ8700-8900_Pantone/Calibrated Look-up Table/Xerox ColorQube 8700_8900.pdf OK
testing: CQ8700-8900_Pantone/EPS/1-16.eps OK
testing: CQ8700-8900_Pantone/EPS/113-128.eps OK
testing: CQ8700-8900_Pantone/EPS/129-144.eps OK
testing: CQ8700-8900_Pantone/EPS/145-160.eps OK
testing: CQ8700-8900_Pantone/EPS/161-176.eps OK
testing: CQ8700-8900_Pantone/EPS/17-32.eps OK
testing: CQ8700-8900_Pantone/EPS/177-192.eps OK
testing: CQ8700-8900_Pantone/EPS/193-195.eps OK
testing: CQ8700-8900_Pantone/EPS/33-48.eps OK
testing: CQ8700-8900_Pantone/EPS/49-64.eps OK
testing: CQ8700-8900_Pantone/EPS/65-80.eps OK
testing: CQ8700-8900_Pantone/EPS/81-96.eps OK
testing: CQ8700-8900_Pantone/EPS/97-112.eps OK
testing: CQ8700-8900_Pantone/Look Up Table Text/Xerox ColorQube 8700_8900.pdf OK
testing: CQ8700-8900_Pantone/Look Up Table Text/Xerox ColorQube 8700_8900.txt OK
testing: CQ8700-8900_Pantone/PANTONE Color Support User Guide.pdf OK
testing: CQ8700-8900_Pantone/Printer Settings/Xerox ColorQube 8700_8900 Print Settings.txt OK
testing: CQ8700-8900_Pantone/TIFF/1-16.tif OK
testing: CQ8700-8900_Pantone/TIFF/113-128.tif OK
testing: CQ8700-8900_Pantone/TIFF/129-144.tif OK
testing: CQ8700-8900_Pantone/TIFF/145-160.tif OK
testing: CQ8700-8900_Pantone/TIFF/161-176.tif OK
testing: CQ8700-8900_Pantone/TIFF/17-32.tif OK
testing: CQ8700-8900_Pantone/TIFF/177-192.tif OK
testing: CQ8700-8900_Pantone/TIFF/193-195.tif OK
testing: CQ8700-8900_Pantone/TIFF/33-48.tif OK
testing: CQ8700-8900_Pantone/TIFF/49-64.tif OK
testing: CQ8700-8900_Pantone/TIFF/65-80.tif OK
testing: CQ8700-8900_Pantone/TIFF/81-96.tif OK
testing: CQ8700-8900_Pantone/TIFF/97-112.tif OK
No errors detected in compressed data of /home/jw/Downloads/CQ8700-8900_Pantone.zip
$
However you should convert the colorspace to a linear colorspace before operating on it.
But isn't RGB already a linear colorspace? Or do I have to do an explicit step of "-colorspace RGB" and strip the profile? Can I skip the "-depth 16 -gamma 0.454545" step when there's a profile attached to the image?
Also JPEG by default (if no colorspace profile given) is to use sRGB as the colorspace which his similar to but not quite the same as the gamma corrected method. (Difference is a linear component in the very dark colors).
[/quote]
In this case, as shown above, the color space seems to be RGB, and a profile is attached, so I can skip the "-depth 16 -gamma 0.454545" step?
And what about the output? Do I have to do an explicit "-gamma 2.2 -colorspace CMYK" after all the processing have been done?