Hi all!
Any way to get a feature "convert image to CMYK and save as.." for users?
My parents-in-law run a small-time magazine, and want a better way of managing the growing library. We have several mac's and pc's and up to 6 users, using one Q-nap home server. Hoping Zenphoto is what im looking for, but it needs to be able to full-fill some criteria. We need Tiff images in the CMYK colour space to be able to print correctly though. Is it possible?
Comments
With ImageMagick or GraphicsMagick, you would need to have PHP make a command line call to the appropriate program using `exec()` with `convert -colorspace CMYK` to convert.
With Imagick, you could use something like this:
`
function convertCMYK($filename) {
$image = new Imagick($filename);
$image->setImageColorspace(Imagick::COLORSPACE_CMYK);
$image->writeImage($filename); // this will replace the old file!
}
`
This function will take a filename and convert that file into CMYK, replacing the old one.
The Imagick function can be directly converted to Gmagick by simply replacing Imagick with Gmagick (in the two cases).
After that, it's just a matter of printing out a link to the image, which would be simple to code in PHP or add to the function above. This is all provided that your server supports one of the above.
For real offset/digital printing I doubt that converting via imagick or the like generates really good printable images (I admit I actually don't know how the quality is). You should do these thingsg better with real image editors. For example what about color profiles which are quite important?