Asido API
This class stores the Asido API for some basic image-processing operations like resizing, watermarking and converting.
Located in /class.asido.php (line 282)
Return an color object (Asido_Color) with the provided RGB channels
Convert an image from one file-type to another
Use this method to convert a previously created Asido_Image object from its original file-type to another.
Copy an image onto an already created Acudo_Image object
Crop an already created Acudo_Image object
Set a driver
Set a driver as active by providing its name as argument to this static method
Resize an image by "fitting" in the provided width and height
Use this method to resize a previously created Asido_Image object if it is bigger then the "frame" set by the provided width and height: if it is smaller it will not be resized
Creates a vertical mirror (flip) by reflecting the pixels around the central X-axis
Creates a horizontal mirror (flop) by reflecting the pixels around the central Y-axis
Resize an image by "framing" it with the provided width and height
Use this method to resize a previously created Asido_Image object by placing it inside the "frame" set by the provided width and height. First the image will be resized in the same manner as Asido::fit() does, and then it will be placed in the center of a canvas with the proportions of the provided width and height (achieving a "Passepartout" framing effect). The background of the "passepartout" is set by the $color argument
Get the supported mime-types by the loaded driver
Resize an image by making it fit a particular height
Use this method to resize a previously created Asido_Image object by making it fit a particular height while keeping the proportions ratio.
Get a new image object
Checks whether a mime-type is supported
Resize an image
Use this method to resize a previously created Asido_Image object. The resize operation can be performed in three modes. The proportional mode set by ASIDO_RESIZE_PROPORTIONAL will attempt to fit the image inside the "frame" create by the $width and $height arguments, while the stretch mode set by ASIDO_RESIZE_STRETCH will stretch the image if necessary to fit into that "frame". The "fitting" mode set by ASIDO_RESIZE_FIT will attempt to resize the image proportionally only if it does not fit inside the "frame" set by the provided width and height: if it does fit, the image will not be resized at all.
Rotate the provided image (clockwise)
Resize an image by stretching it by the provided width and height
Use this method to resize a previously created Asido_Image object by stretching it to fit a particular height without keeping the proportions ratio.
Output an error when trying to access an abstract method
Get version of Asido release
Watermark an image
Use this method to watermark a previously create Asido_Image object. You can set the position of the watermark (the gravity) by using each of the nine available "single" positions (single means the watermark will appear only once), or the "tile" position, which applied the watermark all over the image like a tiled wallpaper. If the watermark image is larger than the image that is supposed to be watermarked you can shrink the watermark image: the scale of its shrinking is determined by the $scalable_factor argument.
Resize an image by making it fit a particular width
Use this method to resize a previously created Asido_Image object by making it fit a particular width while keeping the proportions ratio.
Compose the classname for a driver
If you want to use a different mechanism for composing driver's classname, then override this method in a subclass of Asido
Compose the filename for a driver
If you want to use a different mechanism for composing driver's filename, then override this method in a subclass of Asido
Documentation generated on Mon, 09 Apr 2007 23:57:01 +0300 by phpDocumentor 1.3.0RC4