readImageFile() not working
readImageFile() not working
Hello, when i want to use readImageFile() method with correct resource, it will fails, and lose connection, with readImage() and path to the file it is work fine (but it must be absolute path), but i need resource version, because i use it with Imagine PHP class ... i have PHP 5.4.16 and php_imagick_ts.dll extension
Re: readImageFile() not working
update: everytime apache is crashing and said
[mpm_winnt:notice] [pid 7704:tid 260] AH00428: Parent: child process 1536 exited with status 3221226519 -- Restarting.
[mpm_winnt:notice] [pid 7704:tid 260] AH00428: Parent: child process 1536 exited with status 3221226519 -- Restarting.
Re: readImageFile() not working
Your full code would have been helpful.
What does this example from the php Imagick website do?
What does this example from the php Imagick website do?
Code: Select all
<?php
$handle = fopen('http://example.com/foo.jpg', 'rb');
$img = new Imagick();
$img->readImageFile($handle);
$img->resizeImage(128, 128, 0, 0);
$img->writeImage('images/foo.jpg');
?>
Re: readImageFile() not working
i have fixed that, i have tried many combinations, even PHP 5.5.1, but this is working finaly:
PHP Version 5.4.16
Magick version 6.8.4-0 Q16 32bit
Extension version from here http://valokuva.org/?p=197, direct download here http://valokuva.org/~mikko/imagick-php54-php53.tgz, what is important is extract all DLL files from there to Magick directory!
PHP Version 5.4.16
Magick version 6.8.4-0 Q16 32bit
Extension version from here http://valokuva.org/?p=197, direct download here http://valokuva.org/~mikko/imagick-php54-php53.tgz, what is important is extract all DLL files from there to Magick directory!