I have used the avalance imagine bundle(https://github.com/avalanche123/Imagine) in my symfony2 web app to resize and create thumbnails. My server is centOS.
When my form uploads the image and imagine tries to open with "**lcms: Error #12288; Pointer error;** probably corrupted file
" in the apache error log. I tried catching the exception while opening but the catch block is never executed. I dont know what is the problem.
try{
$this->imagine->open($path);
}catch(\Exception $e){
die($e->getMessage());
}
And the image is http://rghost.net/56833261
My server is centos machine and this is happening only with CMYK colorspaced images. I get this error while processing cmyk images
Unable to add profile sRGB_IEC61966-2-1_black_scaled.icc to image [465]
Thanks