imagick 3.0.1 on Windows
| From: | Tomasz Krawczyk | Date: | Tue, 25 Jan 2011 20:20:45 +0000 |
| Subject: | imagick 3.0.1 on Windows | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-7949@lists.php.net to get a copy of this message | ||
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
Tomek