Comments: on this page. Click to read or post your own.
A wrapper class for GD-based images, with lots of manipulation functions.
Located in /sapphire/filesystem/GD.php (line 7)
Object | --GD
Inherited from Object
Object::$builtInMethods
Object::$class
Object::$classConstructed
Object::$extensions
Object::$extension_instances
Object::$extraMethods
Object::$extraStatics
Object::$statics
Object::$static_cached
Set the default image quality.
Crop's part of image.
Resize an image to cover the given width/height completely, and crop off any overhanging edges.
Resizes the image to fit within the given region.
Behaves similarly to paddedResize but without the padding.
Method return height of image.
Method return width of image.
Make the image greyscale
$rv = red value, defaults to 38 $gv = green value, defaults to 36 $bv = blue value, defaults to 26 Based (more or less entirely, with changes for readability) on code from http://www.teckis.com/scriptix/thumbnails/teck.html
Resize to fit fully within the given box, without resizing. Extra space left around the image will be padded with the background color.
Resize an image, skewing it as necessary.
Resize an image by height. Preserves aspect ratio
Resize an image by width. Preserves aspect ratio.
Resize the image by preserving aspect ratio. By default, it will keep the image inside the maxWidth and maxHeight
Passing useAsMinimum will make the smaller dimension equal to the maximum corresponding dimension
Rotates image by given angle. It's slow because makes it pixel by pixel rather than using built-in function. Used when imagerotate function is not available(i.e. Ubuntu)
Set the image quality, used when saving JPEGs.
Inherited From Object
Object::__construct()
Object::addMethodsFrom()
Object::addStaticVars()
Object::addWrapperMethod()
Object::add_extension()
Object::allMethodNames()
Object::buildMethodList()
Object::cacheToFile()
Object::cacheToFileWithArgs()
Object::create()
Object::createMethod()
Object::defineMethods()
Object::exists()
Object::extend()
Object::extInstance()
Object::getCustomClass()
Object::hasExtension()
Object::hasMethod()
Object::invokeWithExtensions()
Object::is_a()
Object::loadCache()
Object::parentClass()
Object::sanitiseCachename()
Object::saveCache()
Object::set_stat()
Object::set_uninherited()
Object::stat()
Object::strong_create()
Object::uninherited()
Object::useCustomClass()
Object::__call()
Object::__toString()
Documentation generated on Sun, 19 Oct 2008 06:41:29 +1300 by phpDocumentor 1.3.2