Frequently Asked Questions

« Previous
How do I access my scans for eduPrint in Linux?
Next «
How do I convert EPS to PDF in Windows and macOS?

72. How do I convert an image from RGB to CMYK?

The software ImageMagick can do this. This can also be done in Photoshop and other tools. But ImageMagick works in both Windows, macOS and Linux (Ubuntu etc) and also has an interface in plenty of programming languages. And it is free.

  1. As an example we have a small sRGB PNG.

    $ identify start.image.png start.image.png PNG 448x54 448x54+0+0 8-bit sRGB 4101B 0.000u 0:00.009 $

  2. First convert the sRGB PNG into a sRGB TIFF.

    $ convert start.image.png start.image.tiff $

  3. Then convert the sRGB TIFF into a CMYK TIFF.

    $ convert start.image.tiff -colorspace CMYK output.image.tiff $

  4. Confirm that the resulting image is a CMYK TIFF.

    $ identify output.image.tiff output.image.tiff TIFF 448x54 448x54+0+0 8-bit CMYK 2376B 0.000u 0:00.000 $

The command line tool seems to work fine in Windows as well:

This entry was last modified 2018-06-04

This documentation is covered by GNU Free Documentation License.