SimpleGdImage wraps arround GD image resource and provides methods to work with the resource as with a single object
Located in /library/simplegd/classes/SimpleGdImage.class.php (line 10)
Image height, cached on request
Image type
Is loaded flag, true if loaded this file from the file (or saved it to the file)
Is new flag, true if we created this image from resouce, not from file and we didn't save it to the file
Image resouce
Original file path
Image width, cached on request
Construct new SimpleGdImage object
Destroy this object and free any memory associated with image image
Change internat type value
User image resource to populate this object
Return extension based on the source file or type if we have new image
Get height
Get image_type
Return MIME type based on image type
Get source
Get width
Returns true if this image is loaded
Returns true if this image is new (no file, just resource that we can manipulate)
Load this image from file
Reset all fields
Resize image to given dimensions. This transformation will not keep the ratio of the image
This function is used for saving files that are loaded to file in case you transformed the resource and want to save it back to the file. If this file is new or you want to change its type use saveAs() function
Save image into the file
Resize to $width x $height but keep the image proportion
Set height value
Mark this object as loaded
Mark this object as new
Set width value
Documentation generated on Wed, 23 Jan 2008 01:59:27 +0000 by phpDocumentor 1.4.0