use a "string" value to set parameters for MagickTransformIm
Posted: 2007-02-11T13:20:14-07:00
Hello I stumped!!!
I am trying to use the following type of code to transform an image.
$size = $width.'x'. $height;
$resizedImage = MagickTransformImage( $magick_wand, '0x0', "$size");
this does not work for me - it works fine if I use:
$resizedImage = MagickTransformImage( $magick_wand, '0x0', '600x500'); etc.
I have tried different ways to get the string value in the command, but no luck. (adding "dinks", etc)
Do you have any idea on how i can pass parameters to the various Magickwand functions???
Also what would be some generic setting for MagickSharpenImage($resizedImage, 0.0,1.0);
I would just like to do a "generic" sharpen to the image before I write it.
thanks for your help,
eholz1
I am trying to use the following type of code to transform an image.
$size = $width.'x'. $height;
$resizedImage = MagickTransformImage( $magick_wand, '0x0', "$size");
this does not work for me - it works fine if I use:
$resizedImage = MagickTransformImage( $magick_wand, '0x0', '600x500'); etc.
I have tried different ways to get the string value in the command, but no luck. (adding "dinks", etc)
Do you have any idea on how i can pass parameters to the various Magickwand functions???
Also what would be some generic setting for MagickSharpenImage($resizedImage, 0.0,1.0);
I would just like to do a "generic" sharpen to the image before I write it.
thanks for your help,
eholz1