Rip's Domain

CFIMAGE Error: Numbers of source Raster bands and source color space components do not match

Posted in ColdFusion by rip747 on March 30, 2012

You might get this error when trying to manipulate a photo with cfimage (such as resizing). I got this when trying to do exactly that with a JPEG.

In order to get around this error, I opened up the photo in a photo editing program and saved the photo as a BMP. Then I opened up the BMP in the photo editor and saved it as a JPEG.