File/examples/resize/example_05.php

Description

Resize Example #05

This example shows the `passepartout` resize which resizes the image proportionally, but the result has the proportions of the provided width and height with the blank areas filled with the provided color. In the case we are resizing a 640x480 image by making it fit inside a square frame 300x300 and using a nice green color as background. If the color argument is omitted, then "white" is used to fill the blank areas. This is very handy when you want all the resulting images to fit inside some frame without stretching them if the proportions of the image and the frame do not match

Includes
 include ('./../../class.asido.php') (line 24)

Include the main Asido class

Documentation generated on Mon, 09 Apr 2007 23:57:11 +0300 by phpDocumentor 1.3.0RC4