I am trying to use ImageMagick to convert a CMYK image to a RGB image using the following command:
convert inputimage.jpg -colorspace RGB outputimage.jpg
If the inputimage is a CMYK image, I get the following error:
lcms: Error #12288; Pointer error; probably corrupted file
I am using ImageMagick 6.8.8-5 Q16 i686 on Debian.
Any ideas how to fix this error?
Thanks in advance