Back to the snippets index

Resize no aspect ratio. ( Anthony 21/6/2008 )

Resize the image to 250 wide x 90 heigh.

IM code:

<?php
exec
("convert input.jpg -resize '250x90!' output.jpg");
?>

Clone
Crop an image
Crop an image into pieces
Dividing an image
Keep minimum image size
New image size in variable
Resize if over certain size
Resize keep aspect ratio.
Resize no aspect ratio.
Speed up jpg resize