Jump to content

Imagemagick help


petenaylor

Recommended Posts

Hi all

 

I need to re-write the below code so that it doesn't use the exec function:

 


$scale = '74x74';
$go = WEB_UPLOAD.'/test/images/'.$image;
$stop = WEB_UPLOAD.'/test/images/'.$image_small;

exec ("/usr/bin/convert $go -resize $scale\> -quality 100 $stop") or die("Error creating 74 x 74 image.");

 

Many thanks for your help.

 

Pete

 

 

Link to comment
https://forums.phpfreaks.com/topic/248287-imagemagick-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.