I am using ImageMagick 6.7.1-7, installed on a Linux server. I have a tif image that needs to be converted to jpg and then resized to a thumbnail.
Here is the code I have so far:
$url = "/home/notie0/public_html/images/models/highres/231/";
$thumb_file = $url . 'thumbs/sample.jpg';
$tiff_file = $url . 'sample.tif';
$IM_path = '/usr/bin/';
$err = 0;
$run = exec($IM_path.'convert $tiff_file -resize 70x100 -quality 70 $thumb_file',$out,$err);
No image is being returned. I am showing an error code of 1, but no error message (empty array). Any ideas how to fix this?