10.02.2013 Views

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

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 13<br />

Asido<br />

Developer(s) Kaloyan K. Tsvetkov [1]<br />

Stable<br />

release<br />

0.0.0.1a / 10th Apr 2007<br />

Type Image Manupulation<br />

License LGPL<br />

Website<br />

Asido.info [2]<br />

Asido is an open-source <strong>PHP</strong> (<strong>PHP</strong>4/<strong>PHP</strong>5) image processing solution, with "pluggable" drivers(adapters) for<br />

virtually any environment (either GD2 (php_gd2), ImageMagick via shell, ImageMagick via extension<br />

(php_imagick), MagickWand (php_magickwand), etc).<br />

Features<br />

Asido supports the following features:<br />

• pluggable drivers for GD2 (php_gd2), MagickWand (php_magickwand), ImageMagick extension (php_imagick)<br />

as well as ImageMagick shell commands<br />

• "hack" drivers: workarrounds for certain disablities of a particular driver by using some of the other functionality<br />

provided by the environment<br />

• various resize functionality: proportional resize, resize only by width or height, stretch resize, fit resize, frame<br />

resize<br />

• watermark images, including tiling watermark and automatic scaling of large watermarks<br />

• rotate images<br />

• copy images onto one another<br />

• crop images<br />

• grayscale images<br />

• convert images between different filetypes<br />

Here are some of the features covered.<br />

Fit Resize<br />

This type of resize is a proportional resize, but its behaviour is affected by the size (dimensions) of the image. If the<br />

image is smaller than the "resize frame" (provided by the $width and $height arguments), it will NOT be resized: it<br />

will resize only if any of its dimensions are bigger than those of the "resize frame". This feature is very handy; it will<br />

save you the pixelation effect if you are trying to resize smaller images to fit into larger "frames".<br />

Frame Resize<br />

This is another handy resize feature. It is a kind of compromise between the stretch resize and the proportional<br />

resize. This feature will resize the image proportionally using the Fit feature (not the regular proportional resize) and<br />

will place it in the center of a canvas, which has $width and $height as its dimensions, and $color as its background.<br />

This is very useful, because it offers the ability to fit virtually any image inside any resize frame - and the

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

Saved successfully!

Ooh no, something went wrong!