2

I had a bunch of images uploaded as cmyk and I needed to convert them to rgb.

I used the line

exec("convert -colorspace RGB " . $myfile . " " . $myfile);
But the color is way off (example, a brownish color looks greenish).

I'm not sure why it's doing this.

brainbowler
  • 667
  • 5
  • 17
AllisonC
  • 2,973
  • 4
  • 29
  • 46

1 Answers1

0

Try using this instead:

-colorspace sRGB
Gabriel Ross
  • 5,168
  • 1
  • 28
  • 30
  • It's a little better, but still not the actual colors. It has dark green where it was brown and light red where it had dark red. – AllisonC Aug 26 '11 at 20:02