Re: imagick 3.0.1 on Windows
| From: | Tomasz Krawczyk | Date: | Wed, 26 Jan 2011 10:16:03 +0000 |
| Subject: | Re: imagick 3.0.1 on Windows | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7952@lists.php.net to get a copy of this message | ||
W dniu 2011-01-25 21:20, Tomasz Krawczyk pisze:
Hi! I have a problem with imagick extension. I compiled it with VC6 TS for my WampServer and VC9 NTS for IIS. In both cases two of four examples from source code work (captcha.php and polygon.php) but two others (watermark.php and thumbnail.php) hang my web servers. Of course I corrected file names, font names and so on. It should work. After small investigation I'm sure that function readImage causes the problem. If file doesn't exist I get an error message: "Uncaught exception 'ImagickException' with message 'Unable to read the file: /tmp/test.jpg' in D:\wamp\www\imagick\watermark.php:16 Stack trace: #0 D:\wamp\www\imagick\watermark.php(16): Imagick->readimage('/tmp/test.jpg') #1 {main} thrown in D:\wamp\www\imagick\watermark.php on line 16" which is correct. But if file exists I do not get any message. Server crashes. Can anyone confirm this issue? Can I fix this some how? regards TomekI forgot to add I checked it on: - Windows 2003 server, IIS6, ImageMagick 6.6.7 Q8, PHP 5.3.2 VC9 NTS - Windows 7x64, WampServer 2.0, ImageMagick 6.6.7 Q8, PHP 5.3.1 VC6 TS regards Tomek