Page 1 of 1

difference between imagick_resize and resizeImage

Posted: 2008-02-01T14:28:39-07:00
by ivobrabec
Hi,
we started to use new server and old scripts stopped working:
The old script example was like:
imagick_resize($handle, $width,$height, IMAGICK_FILTER_UNKNOWN, 0);
and new new server requires
$handle->resizeImage($handle,$width,$height, IMAGICK_FILTER_UNKNOWN, 0);

On both server is Imagick installed.
I dont understand the reason why the new server does take imagick_resize as nonexisting function? Is there something which needs to be installed in order for imagick_resize to work besides the imagick instalation?

I should also mention that i have not access to the exec() function.

Please help me.
Thanks
Ivo Brabec

Re: difference between imagick_resize and resizeImage

Posted: 2008-02-01T15:31:34-07:00
by Bonzo
You may want to post here instead http://redux.imagemagick.org/discourse- ... m.php?f=18 as that section of the forum is for Imagick.

There may be some more info here: http://valokuva.org/?cat=1.

Re: difference between imagick_resize and resizeImage

Posted: 2008-02-02T00:19:03-07:00
by ivobrabec
thanks i posted it to the imagick section as well now...
the problem with http://valokuva.org/?cat=1. is that they dont use the imagick_resize kind of functions, i need to understand, why is it that these kind of functions are not recognized by the server....thans for any ideas