The following code resizes an image so that its width is 200 and its height is whatever…
How would I do it so that the height was 200 and the width was whatever…
$command = MAGICK_PATH.”convert “.$filename.” -resize 200 “.$filename;
exec($command);
Kind regards J
The manual has a complete overview over resizing options.
You are looking for