我有一个程序可以在PHP中使用imagick处理图像:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd"
default-autowire="byType" default-lazy-init="true">
...
<aop:aspectj-autoproxy/>
此过程会引发有关CRC错误的错误:
$image = new \Imagick();
$image->readImageBlob($fileSystem->read($file));
此图像没有任何问题,我想像其余图像一样对其进行处理,我不在乎CRC检查失败。