Resize options page 1

Area
Resize image to have specified area in pixels. Aspect ratio is preserved.
Row title = area.jpg
ResizeArea example
<?php 
$cmd 
"$input -resize 10000@ "
exec("convert $cmd area.jpg");
 
?>
Aspect ratio ignored
Width and height emphatically given, original aspect ratio ignored.
Row title = ignored.jpg
ResizeAspect ratio ignored example
<?php 
$cmd 
"$input -resize 100x100! "
exec("convert $cmd ignored.jpg");
  
?>
Both exceded
Change dimensions only if both image dimensions exceed specified dimensions.
Row title = both_exceded.jpg
ResizeBoth exceded example
<?php 
$cmd 
"$input -resize \"100x100<\" "
exec("convert $cmd both_exceded.jpg");
  
?>
Dimensions exceded
Change as per widthxheight but only if an image dimension exceeds a specified dimension.
Row title = exceded.jpg
ResizeDimensions exceded example
<?php 
$cmd 
"$input -resize \"100x100>\" "
exec("convert $cmd exceded.jpg");
   
?>
Equal percent
Height and width both scaled by specified percentage.
Row title = equal_percent.jpg
ResizeEqual percent example
<?php 
$cmd 
"$input -resize 50% "
exec("convert $cmd equal_percent.jpg");
 
?>
Maximium dimensions
Maximum values of height and width given, aspect ratio preserved.
Row title = resize_max.jpg
ResizeMaximium dimensions example
<?php 
$cmd 
"$input -resize 100x100"
exec("convert $cmd resize_max.jpg");
 
?>
Resize height
Height given, width automagically selected to preserve aspect ratio.
Row title = resize_height.jpg
ResizeResize height example
<?php 
$cmd 
"$input -resize x100"
exec("convert $cmd resize_height.jpg");
  
?>
Resize minimium
Minimum values of width and height given, aspect ratio preserved.
Row title = resize_min.jpg
ResizeResize minimium example
<?php 
$cmd 
"$input -resize \"100x100^\" "
exec("convert $cmd resize_min.jpg");
  
?>
Resize width
Width given, height automagically selected to preserve aspect ratio.
Row title = resize_width.jpg
ResizeResize width example
<?php 
$cmd 
"$input -resize 100"
exec("convert $cmd resize_width.jpg");
  
?>
Unequal percent
Height and width individually scaled by specified percentages. (Only one % symbol needed.)
Row title = unequal_percent.jpg
ResizeUnequal percent example
<?php 
$cmd 
"$input -resize 100x50% "
exec("convert $cmd unequal_percent.jpg");
 
?>