difference between imagick_resize and resizeImage

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ivobrabec

difference between imagick_resize and resizeImage

Post 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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: difference between imagick_resize and resizeImage

Post 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.
ivobrabec

Re: difference between imagick_resize and resizeImage

Post 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
Post Reply