WideImage

# Element index for package WideImage

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ w ] [ _ ]

## _

__call
  in file Image.php, method WideImage_Image::__call()
  Used internally to execute operations
__call
  in file Canvas.php, method WideImage_Canvas::__call()
  A magic method that allows you to call any PHP function that starts with "image".
__construct
  in file Canvas.php, method WideImage_Canvas::__construct()
  Creates a canvas object that writes to the image passed as a parameter
__construct
  in file TTF.php, method WideImage_Font_TTF::__construct()
__construct
  in file Image.php, method WideImage_Image::__construct()
  The base class constructor
__construct
  in file GDF.php, method WideImage_Font_GDF::__construct()
__construct
  in file TrueColorImage.php, method WideImage_TrueColorImage::__construct()
  Creates the object
__construct
  in file PS.php, method WideImage_Font_PS::__construct()
__destruct
  in file Image.php, method WideImage_Image::__destruct()
  Cleanup
__destruct
  in file PS.php, method WideImage_Font_PS::__destruct()
__sleep
  in file Image.php, method WideImage_Image::__sleep()
  Returns an array of serializable protected variables. Called automatically upon serialize().
__toString
  in file Image.php, method WideImage_Image::__toString()
  Returns an image in GIF or PNG format
__wakeup
  in file Image.php, method WideImage_Image::__wakeup()
  Restores an image from serialization. Called automatically upon unserialize().

top

## a

addNoise
  in file Image.php, method WideImage_Image::addNoise()
  Adds noise to the image
allocateColor
  in file Image.php, method WideImage_Image::allocateColor()
  Allocate a color by RGB values.
allocateColorAlpha
  in file TrueColorImage.php, method WideImage_TrueColorImage::allocateColorAlpha()
  Allocates a color and returns its index
alphaBlending
  in file TrueColorImage.php, method WideImage_TrueColorImage::alphaBlending()
  Sets alpha blending mode via imagealphablending()
applyConvolution
  in file Image.php, method WideImage_Image::applyConvolution()
  Applies convolution matrix with imageconvolution()
applyFilter
  in file Image.php, method WideImage_Image::applyFilter()
  Applies a filter
applyMask
  in file Image.php, method WideImage_Image::applyMask()
  Returns an image with applied mask
asGrayscale
  in file Image.php, method WideImage_Image::asGrayscale()
  Returns a grayscale copy of the image
asNegative
  in file Image.php, method WideImage_Image::asNegative()
  Returns a negative of the image
asPalette
  in file Image.php, method WideImage_Image::asPalette()
  Returns a palette copy (8bit) of the image
asPalette
  in file PaletteImage.php, method WideImage_PaletteImage::asPalette()
  (non-PHPdoc)
asPalette
  in file TrueColorImage.php, method WideImage_TrueColorImage::asPalette()
assertValidImageHandle
  in file WideImage.php, method WideImage::assertValidImageHandle()
  Throws exception if the handle isn't a valid GD resource
asString
  in file Image.php, method WideImage_Image::asString()
  Returns binary string with image data in format specified by $format
asTrueColor
  in file TrueColorImage.php, method WideImage_TrueColorImage::asTrueColor()
  (non-PHPdoc)
asTrueColor
  in file PaletteImage.php, method WideImage_PaletteImage::asTrueColor()
  (non-PHPdoc)
asTrueColor
  in file Image.php, method WideImage_Image::asTrueColor()
  Returns a true-color copy of the image
autoCrop
  in file Image.php, method WideImage_Image::autoCrop()
  Performs an auto-crop on the image

top

## c

$canvas
  in file Image.php, variable WideImage_Image::$canvas
  Canvas object
$color
  in file GDF.php, variable WideImage_Font_GDF::$color
$color
  in file PS.php, variable WideImage_Font_PS::$color
$color
  in file TTF.php, variable WideImage_Font_TTF::$color
Canvas.php
  procedural page Canvas.php
checkGD
  in file WideImage.php, method WideImage::checkGD()
  Checks whether the gd library is loaded, and throws an exception otherwise
copy
  in file Image.php, method WideImage_Image::copy()
  Returns a copy of the image object
copyAsNew
  in file PaletteImage.php, method WideImage_PaletteImage::copyAsNew()
  Returns a copy of the image
copyNoAlpha
  in file Image.php, method WideImage_Image::copyNoAlpha()
  Returns an image without an alpha channel
copyNoAlpha
  in file PaletteImage.php, method WideImage_PaletteImage::copyNoAlpha()
  (non-PHPdoc)
copyNoAlpha
  in file TrueColorImage.php, method WideImage_TrueColorImage::copyNoAlpha()
  (non-PHPdoc)
copyTo
  in file Image.php, method WideImage_Image::copyTo()
  Copies this image onto another image
copyTransparencyFrom
  in file Image.php, method WideImage_Image::copyTransparencyFrom()
  Copies transparency information from $sourceImage. Optionally fills the image with the transparent color at (0, 0).
correctGamma
  in file Image.php, method WideImage_Image::correctGamma()
  Corrects gamma on the image
create
  in file TrueColorImage.php, method WideImage_TrueColorImage::create()
  Factory method that creates a true-color image object
create
  in file PaletteImage.php, method WideImage_PaletteImage::create()
  Create a palette image
createPaletteImage
  in file WideImage.php, method WideImage::createPaletteImage()
  Factory method for creating a palette image
createTrueColorImage
  in file WideImage.php, method WideImage::createTrueColorImage()
  Factory method for creating a true-color image
crop
  in file Image.php, method WideImage_Image::crop()
  Returns a cropped rectangular portion of the image

top

## d

destroy
  in file Image.php, method WideImage_Image::destroy()
  This method destroy the image handle, and releases the image resource.
doCreate
  in file TrueColorImage.php, method WideImage_TrueColorImage::doCreate()
doCreate
  in file PaletteImage.php, method WideImage_PaletteImage::doCreate()

top

## e

Exception.php
  procedural page Exception.php

top

## f

$face
  in file TTF.php, variable WideImage_Font_TTF::$face
$font
  in file Canvas.php, variable WideImage_Canvas::$font
$font
  in file GDF.php, variable WideImage_Font_GDF::$font
fill
  in file Image.php, method WideImage_Image::fill()
  Fill the image at ($x, $y) with color index $color
flip
  in file Image.php, method WideImage_Image::flip()
  Returns a flipped (mirrored over horizontal line) copy of the image

top

## g

GDF.php
  procedural page GDF.php
getCanvas
  in file Image.php, method WideImage_Image::getCanvas()
  Returns the canvas object
getChannels
  in file TrueColorImage.php, method WideImage_TrueColorImage::getChannels()
getChannels
  in file Image.php, method WideImage_Image::getChannels()
  Retrieve an image with selected channels
getChannels
  in file PaletteImage.php, method WideImage_PaletteImage::getChannels()
  (non-PHPdoc)
getClosestColor
  in file Image.php, method WideImage_Image::getClosestColor()
  Returns closest color index that matches the given RGB value. Uses PHP's imagecolorclosest()
getClosestColorAlpha
  in file TrueColorImage.php, method WideImage_TrueColorImage::getClosestColorAlpha()
  Returns the index of the color that best match the given color components
getColorAt
  in file Image.php, method WideImage_Image::getColorAt()
  Returns an index of the color at $x, $y
getColorRGB
  in file Image.php, method WideImage_Image::getColorRGB()
  Returns a color's RGB
getExactColor
  in file Image.php, method WideImage_Image::getExactColor()
  Returns the color index that exactly matches the given RGB value. Uses PHP's imagecolorexact()
getExactColorAlpha
  in file TrueColorImage.php, method WideImage_TrueColorImage::getExactColorAlpha()
  Returns the index of the color that exactly match the given color components
getHandle
  in file Image.php, method WideImage_Image::getHandle()
  Returns the GD image resource
getHeight
  in file Image.php, method WideImage_Image::getHeight()
getMask
  in file Image.php, method WideImage_Image::getMask()
  Returns the image's mask
getOperation
  in file Image.php, method WideImage_Image::getOperation()
  Used internally to create Operation objects
getRGBAt
  in file Image.php, method WideImage_Image::getRGBAt()
  Returns a RGBA array for pixel at $x, $y
getTransparentColor
  in file Image.php, method WideImage_Image::getTransparentColor()
getTransparentColorRGB
  in file Image.php, method WideImage_Image::getTransparentColorRGB()
  Returns a RGB array of the transparent color or null if none.
getWidth
  in file Image.php, method WideImage_Image::getWidth()

top

## h

$handle
  in file PS.php, variable WideImage_Font_PS::$handle
$handle
  in file Image.php, variable WideImage_Image::$handle
  Holds the image resource
$handle
  in file Canvas.php, variable WideImage_Canvas::$handle
$handleReleased
  in file Image.php, variable WideImage_Image::$handleReleased
  Flag that determines if WideImage should call imagedestroy() upon object destruction

top

## i

$image
  in file Canvas.php, variable WideImage_Canvas::$image
Image.php
  procedural page Image.php
isTransparent
  in file Image.php, method WideImage_Image::isTransparent()
isTrueColor
  in file TrueColorImage.php, method WideImage_TrueColorImage::isTrueColor()
isTrueColor
  in file PaletteImage.php, method WideImage_PaletteImage::isTrueColor()
  (non-PHPdoc)
isTrueColor
  in file Image.php, method WideImage_Image::isTrueColor()
  Returns true if the image is true-color, false otherwise
isValid
  in file Image.php, method WideImage_Image::isValid()
isValidImageHandle
  in file WideImage.php, method WideImage::isValidImageHandle()
  Check whether the given handle is a valid GD resource

top

## l

load
  in file WideImage.php, method WideImage::load()
  Loads an image from a file, URL, HTML input file field, binary string, or a valid image handle.
loadFromFile
  in file WideImage.php, method WideImage::loadFromFile()
  Create and load an image from a file or URL. The image format is auto-detected.
loadFromHandle
  in file WideImage.php, method WideImage::loadFromHandle()
  Create and load an image from an image handle.
loadFromString
  in file WideImage.php, method WideImage::loadFromString()
  Create and load an image from a string. Format is auto-detected.
loadFromUpload
  in file WideImage.php, method WideImage::loadFromUpload()
  This method loads a file from the $_FILES array. The image format is auto-detected.

top

## m

MapperFactory.php
  procedural page MapperFactory.php
merge
  in file Image.php, method WideImage_Image::merge()
  This method lays the overlay (watermark) on the image.
mirror
  in file Image.php, method WideImage_Image::mirror()
  Returns a mirrored copy of the image

top

## o

output
  in file Image.php, method WideImage_Image::output()
  Outputs the image to browser

top

## p

$path
  in file WideImage.php, variable WideImage::$path
PS.php
  procedural page PS.php
PaletteImage.php
  procedural page PaletteImage.php
path
  in file WideImage.php, method WideImage::path()
  Returns the path to the library

top

## r

registerCustomMapper
  in file WideImage.php, method WideImage::registerCustomMapper()
  Registers a custom mapper for image loading and saving
releaseHandle
  in file Image.php, method WideImage_Image::releaseHandle()
  Releases the handle
resize
  in file Image.php, method WideImage_Image::resize()
  Resize the image to given dimensions.
resizeCanvas
  in file Image.php, method WideImage_Image::resizeCanvas()
  Resizes the canvas of the image, but doesn't scale the content of the image
resizeDown
  in file Image.php, method WideImage_Image::resizeDown()
  Same as WideImage_Image::resize(), but the image is only applied if it is larger then the given dimensions.
resizeUp
  in file Image.php, method WideImage_Image::resizeUp()
  Same as WideImage_Image::resize(), but the image is only applied if it is smaller then the given dimensions.
rotate
  in file Image.php, method WideImage_Image::rotate()
  Rotate the image for angle $angle clockwise.
roundCorners
  in file Image.php, method WideImage_Image::roundCorners()
  Returns an image with round corners

top

## s

$sdata
  in file Image.php, variable WideImage_Image::$sdata
$size
  in file PS.php, variable WideImage_Font_PS::$size
$size
  in file TTF.php, variable WideImage_Font_TTF::$size
saveAlpha
  in file TrueColorImage.php, method WideImage_TrueColorImage::saveAlpha()
  Toggle if alpha channel should be saved with the image via imagesavealpha()
saveToFile
  in file Image.php, method WideImage_Image::saveToFile()
  Saves an image to a file
setColorAt
  in file Image.php, method WideImage_Image::setColorAt()
  Set the color index $color to a pixel at $x, $y
setFont
  in file Canvas.php, method WideImage_Canvas::setFont()
  Sets the active font. Can be an instance of WideImage_Font_TTF, WideImage_Font_PS, or WideImage_Font_GDF.
setRGBAt
  in file Image.php, method WideImage_Image::setRGBAt()
  Writes a pixel at the designated coordinates
setTransparentColor
  in file Image.php, method WideImage_Image::setTransparentColor()
  Sets the current transparent color index. Only makes sense for palette images (8-bit).
SIDE_ALL
  in file WideImage.php, class constant WideImage::SIDE_ALL
SIDE_BOTTOM
  in file WideImage.php, class constant WideImage::SIDE_BOTTOM
SIDE_BOTTOM_LEFT
  in file WideImage.php, class constant WideImage::SIDE_BOTTOM_LEFT
SIDE_BOTTOM_RIGHT
  in file WideImage.php, class constant WideImage::SIDE_BOTTOM_RIGHT
SIDE_LEFT
  in file WideImage.php, class constant WideImage::SIDE_LEFT
SIDE_RIGHT
  in file WideImage.php, class constant WideImage::SIDE_RIGHT
SIDE_TOP
  in file WideImage.php, class constant WideImage::SIDE_TOP
SIDE_TOP_LEFT
  in file WideImage.php, class constant WideImage::SIDE_TOP_LEFT
SIDE_TOP_RIGHT
  in file WideImage.php, class constant WideImage::SIDE_TOP_RIGHT

top

## t

TTF.php
  procedural page TTF.php
TrueColorImage.php
  procedural page TrueColorImage.php

top

## u

unsharp
  in file Image.php, method WideImage_Image::unsharp()
  Applies the unsharp filter
useFont
  in file Canvas.php, method WideImage_Canvas::useFont()
  Creates and sets the current font

top

## v

version
  in file WideImage.php, method WideImage::version()
  Returns the library version

top

## w

WideImage
  in file WideImage.php, class WideImage
  The gateway class for loading images and core library functions
WideImage.php
  procedural page WideImage.php
WideImage_Canvas
  in file Canvas.php, class WideImage_Canvas
WideImage_Font_GDF
  in file GDF.php, class WideImage_Font_GDF
  GDF font support class
WideImage_Font_PS
  in file PS.php, class WideImage_Font_PS
  PS font support class
WideImage_Font_TTF
  in file TTF.php, class WideImage_Font_TTF
  TTF font support class
WideImage_Image
  in file Image.php, class WideImage_Image
  Base class for images
WideImage_PaletteImage
  in file PaletteImage.php, class WideImage_PaletteImage
WideImage_TrueColorImage
  in file TrueColorImage.php, class WideImage_TrueColorImage
  A class for truecolor image objects
writeHeader
  in file Image.php, method WideImage_Image::writeHeader()
  Output a header to browser.
writeText
  in file Canvas.php, method WideImage_Canvas::writeText()
  Write text on the image at specified position
writeText
  in file GDF.php, method WideImage_Font_GDF::writeText()
writeText
  in file TTF.php, method WideImage_Font_TTF::writeText()
  Writes text onto an image
writeText
  in file PS.php, method WideImage_Font_PS::writeText()

top

Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by phpDocumentor 1.4.3