10.02.2013 Views

PHP Programming Language - Cultural View

PHP Programming Language - Cultural View

PHP Programming Language - Cultural View

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Asido 14<br />

proportions will not matter: you can fit a landscape inside a square, or a square inside a portrait, etc. The $color<br />

argument is used in the same manner as it is used when rotating by custsom angles - to fill the left blank areas.<br />

Drivers<br />

Currently Asido supports the drivers for the following environments:<br />

• GD2 (php_gd2) extension<br />

• ImageMagick php_imagick extension<br />

• MagickWand php_magickwand extension<br />

• ImageMagick shell commands<br />

Example Code<br />

This example shows how to watermark and resize an image.<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!