Is there a way to convert a JPEG from CMYK to RGB, using Preview or any other tool built into Mac OS X?
I see I can go to Tools | Assign Profile… and select from a long list of options, including Generic CMYK Profile, but there's no RGB option.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
I found three ways to do it.
#!/bin/sh if [ $# -lt 1 ]; then cat >&2 <<EOF usage: $0 filename $0 source-file destination-file Converts an image to RGB color space. The first form manipulates the file in-place. EOF exit 1 fi SOURCE_FILE=$1 if [ $# -lt 2 ]; then DESTINATION_FILE=$SOURCE_FILE else DESTINATION_FILE=$2 fi sips \ --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' \ "$SOURCE_FILE" \ --out "$DESTINATION_FILE"
If you have ImageMagick installed on your machine, you can do this in Terminal.
convert -colorspace RGB image.jpg newImage.jpg
newImage.jpg will be the same image in RGB space.