step 1 (resize image down)
Code: Select all
system(binary_system_path()."convert $source -limit memory 1 -limit map 1 -thumbnail x800\> -bordercolor '#ffffff' -border 0 -gravity center -crop x800+0+0 +repage -strip -quality 90 -profile $rgbProfile $thumb");
Code: Select all
system(binary_system_path()."convert $thumb -limit memory 1 -limit map 1 -thumbnail '200X' $thumb");
Code: Select all
system(binary_system_path()."convert $thumb -limit memory 1 -limit map 1 -gravity center -background '#ffffff' -extent 200x".$tHeight." $thumb");
Code: Select all
system(binary_system_path()."convert $thumb -limit memory 1 -limit map 1 -gravity center -background '#ffffff' -extent ".$tWidth."x100 $thumb");
- size down to a maximum of 800px tall
- not wider than 200px
- at least 200px wide
- at least 100px tall
- - -
Anybody got any ideas?