dongxinjun3944 2014-07-10 14:38
浏览 77

ImageMagick无法打开JPG

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

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 运筹学中在线排序的时间在线排序的在线LPT算法
    • ¥30 求一段fortran代码用IVF编译运行的结果
    • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
    • ¥15 lammps拉伸应力应变曲线分析
    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
    • ¥30 python代码,帮调试,帮帮忙吧