Image_Transform
[ class tree: Image_Transform ] [ index: Image_Transform ] [ all elements ]

Element index for package Image_Transform

[ a ] [ c ] [ d ] [ f ] [ g ] [ i ] [ k ] [ l ] [ m ] [ n ] [ o ] [ r ] [ s ] [ t ] [ _ ]

_

$_options
in file Transform.php, variable Image_Transform::$_options
$_programs
in file Transform.php, variable Image_Transform::$_programs
    associative array that tracks existence of programs
$_supported_image_types
in file Transform.php, variable Image_Transform::$_supported_image_types
    Supported image types
_convert_image_type
in file Transform.php, method Image_Transform::_convert_image_type()
    Returns the matching IMAGETYPE_* constant for a given image type
_getColor
in file Transform.php, method Image_Transform::_getColor()
    Returns a color option
_getOption
in file Transform.php, method Image_Transform::_getOption()
    Returns an option
_get_default_text_params
in file Transform.php, method Image_Transform::_get_default_text_params()
    Returns the current value of $this->default_text_params.
_get_image_details
in file Transform.php, method Image_Transform::_get_image_details()
    Sets the image type (in lowercase letters), the image height and width.
_parse_size
in file Transform.php, method Image_Transform::_parse_size()
    Parses input for number format and convert
_prepare_cmd
in file Transform.php, method Image_Transform::_prepare_cmd()
    Handles space in path and Windows/UNIX difference
_resize
in file Transform.php, method Image_Transform::_resize()
    Place holder for the real resize method used by extended methods to do the resizing
_rotation_angle
in file Transform.php, method Image_Transform::_rotation_angle()
    Returns an angle between 0 and 360 from any angle value
_set_img_x
in file Transform.php, method Image_Transform::_set_img_x()
    Sets the image width
_set_img_y
in file Transform.php, method Image_Transform::_set_img_y()
    Sets the image height
_set_new_x
in file Transform.php, method Image_Transform::_set_new_x()
    Sets the new image width
_set_new_y
in file Transform.php, method Image_Transform::_set_new_y()
    Sets the new image height
__construct
in file Imlib.php, method Image_Transform_Driver_Imlib::__construct()
    Check settings
$_supported_image_types
in file Cairowrapper.php, variable Image_Transform_Driver_Cairowrapper::$_supported_image_types
    Supported image types
_resize
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::_resize()
    Resize the image
__construct
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::__construct()
    Create object and check if cairo_wrapper is loaded
_createImage
in file GD.php, method Image_Transform_Driver_GD::_createImage()
    Returns a new image for temporary processing
_generate
in file GD.php, method Image_Transform_Driver_GD::_generate()
    Helper method to save to a file or output the image
_resize
in file GD.php, method Image_Transform_Driver_GD::_resize()
    Resize Action
__construct
in file GD.php, method Image_Transform_Driver_GD::__construct()
    Check settings
__construct
in file IM.php, method Image_Transform_Driver_IM::__construct()
    Class constructor
_resize
in file Imagick2.php, method Image_Transform_Driver_Imagick2::_resize()
    Resize Action
__construct
in file Imagick2.php, method Image_Transform_Driver_Imagick2::__construct()
_resize
in file Imagick3.php, method Image_Transform_Driver_Imagick3::_resize()
    Resizes the image
__construct
in file Imagick3.php, method Image_Transform_Driver_Imagick3::__construct()
__construct
in file NetPBM.php, method Image_Transform_Driver_NetPBM::__construct()
    Class Constructor
top

a

addBorder
in file Transform.php, method Image_Transform::addBorder()
addDropShadow
in file Transform.php, method Image_Transform::addDropShadow()
addText
in file Transform.php, method Image_Transform::addText()
    Methods to add to the driver classes in the future
addText
in file Imlib.php, method Image_Transform_Driver_Imlib::addText()
    Adds text to the image. Note that the angle should be one of the following constants: IMLIB_TEXT_TO_RIGHT, IMLIB_TEXT_TO_LEFT, IMLIB_TEXT_TO_DOWN, IMLIB_TEXT_TO_UP, IMLIB_TEXT_TO_ANGLE
addBorder
in file GD.php, method Image_Transform_Driver_GD::addBorder()
    Adds a border of constant width around an image
addText
in file GD.php, method Image_Transform_Driver_GD::addText()
    addText
addText
in file IM.php, method Image_Transform_Driver_IM::addText()
    addText
addText
in file Imagick2.php, method Image_Transform_Driver_Imagick2::addText()
    addText
addText
in file Imagick3.php, method Image_Transform_Driver_Imagick3::addText()
    Adds text to the image
addText
in file NetPBM.php, method Image_Transform_Driver_NetPBM::addText()
    adds text to an image
top

c

canvasResize
in file Transform.php, method Image_Transform::canvasResize()
colorarray2colorhex
in file Transform.php, method Image_Transform::colorarray2colorhex()
    Converts an array of RGB value into a #FFFFFF format color.
colorhex2colorarray
in file Transform.php, method Image_Transform::colorhex2colorarray()
    Converts a color string into an array of RGB values
crop
in file Transform.php, method Image_Transform::crop()
    Crops an image
crop
in file Imlib.php, method Image_Transform_Driver_Imlib::crop()
    Crops the current image to a specified height and width
ColorsDefs.php
procedural page ColorsDefs.php
Cairowrapper.php
procedural page Cairowrapper.php
crop
in file GD.php, method Image_Transform_Driver_GD::crop()
    Crops image by size and start coordinates
crop
in file IM.php, method Image_Transform_Driver_IM::crop()
    Crop image
crop
in file Imagick2.php, method Image_Transform_Driver_Imagick2::crop()
    Crops the image
crop
in file Imagick3.php, method Image_Transform_Driver_Imagick3::crop()
    Crops the image
$command
in file NetPBM.php, variable Image_Transform_Driver_NetPBM::$command
    associative array commands to be executed
crop
in file NetPBM.php, method Image_Transform_Driver_NetPBM::crop()
    Crop an image
top

d

$default_text_params
in file Transform.php, variable Image_Transform::$default_text_params
    Default parameters used in the addText methods.
display
in file Transform.php, method Image_Transform::display()
    Outputs the image to standard output
display
in file Imlib.php, method Image_Transform_Driver_Imlib::display()
    Display image without saving and lose changes
display
in file GD.php, method Image_Transform_Driver_GD::display()
    Displays image without saving and lose changes.
display
in file IM.php, method Image_Transform_Driver_IM::display()
    Display image without saving and lose changes
display
in file Imagick2.php, method Image_Transform_Driver_Imagick2::display()
    Displays image without saving and lose changes
display
in file Imagick3.php, method Image_Transform_Driver_Imagick3::display()
    Displays image without saving and lose changes
display
in file NetPBM.php, method Image_Transform_Driver_NetPBM::display()
    Display image without saving and lose changes
top

f

factory
in file Transform.php, method Image_Transform::factory()
    Creates a new Image_Transform object
fit
in file Transform.php, method Image_Transform::fit()
    Fits the image in the specified box size
fitOnCanvas
in file Transform.php, method Image_Transform::fitOnCanvas()
    This works as per fit, but creates the canvas of size $width x $height and positions the resized image on it, by default in the centre.
fitX
in file Transform.php, method Image_Transform::fitX()
    Fits the image in the specified width
fitY
in file Transform.php, method Image_Transform::fitY()
    Fits the image in the specified height
flip
in file Transform.php, method Image_Transform::flip()
    Vertical mirroring
flip
in file Imlib.php, method Image_Transform_Driver_Imlib::flip()
    Vertical mirroring
FONTS
in file test.php, constant FONTS
FONTS_TTF
in file test.php, constant FONTS_TTF
free
in file Transform.php, method Image_Transform::free()
    Releases resource
free
in file Imlib.php, method Image_Transform_Driver_Imlib::free()
    Destroy image handle
flip
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::flip()
    Mirrors the image vertically Uses an affine transformation matrix to flip the image.
free
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::free()
    Frees cairo handles
flip
in file GD.php, method Image_Transform_Driver_GD::flip()
    Vertical mirroring
free
in file GD.php, method Image_Transform_Driver_GD::free()
    Destroys image handle
flip
in file IM.php, method Image_Transform_Driver_IM::flip()
    Vertical mirroring
free
in file IM.php, method Image_Transform_Driver_IM::free()
    Destroy image handle
flip
in file Imagick2.php, method Image_Transform_Driver_Imagick2::flip()
    Vertical mirroring
free
in file Imagick2.php, method Image_Transform_Driver_Imagick2::free()
    Destroy image handle
flip
in file Imagick3.php, method Image_Transform_Driver_Imagick3::flip()
    Vertical mirroring
free
in file Imagick3.php, method Image_Transform_Driver_Imagick3::free()
    Destroy image handle
flip
in file NetPBM.php, method Image_Transform_Driver_NetPBM::flip()
    Vertical mirroring
free
in file NetPBM.php, method Image_Transform_Driver_NetPBM::free()
    Destroy image handle
top

g

gamma
in file Transform.php, method Image_Transform::gamma()
    Corrects the gamma of an image
getHandle
in file Transform.php, method Image_Transform::getHandle()
    Returns the image handle so that one can further try to manipulate the image
getImageHeight
in file Transform.php, method Image_Transform::getImageHeight()
    Returns the image height
getImageSize
in file Transform.php, method Image_Transform::getImageSize()
    Returns the image size and extra format information
getImageType
in file Transform.php, method Image_Transform::getImageType()
    Returns the type of the image being manipulated
getImageWidth
in file Transform.php, method Image_Transform::getImageWidth()
    Returns the image width
getMimeType
in file Transform.php, method Image_Transform::getMimeType()
    Returns the MIME type of the image being manipulated
getNewImageHeight
in file Transform.php, method Image_Transform::getNewImageHeight()
    Return new image Y
getNewImageWidth
in file Transform.php, method Image_Transform::getNewImageWidth()
    Returns the new image width
getTempDir
in file Transform.php, method Image_Transform::getTempDir()
    Returns the temp directory according to either the TMP, TMPDIR, or TEMP env variables. If these are not set it will also check for the existence of /tmp, %WINDIR%\temp
getTempFile
in file Transform.php, method Image_Transform::getTempFile()
    Returns a temporary filename using tempnam() and the above getTmpDir() function.
getWebSafeFormat
in file Transform.php, method Image_Transform::getWebSafeFormat()
    This looks at the current image type and attempts to determine which
grayscale
in file Transform.php, method Image_Transform::grayscale()
    Converts an image into greyscale colors
greyscale
in file Transform.php, method Image_Transform::greyscale()
    Converts an image into greyscale colors
getHandle
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::getHandle()
    Returns the surface of the image so it can be modified further
gamma
in file GD.php, method Image_Transform_Driver_GD::gamma()
    Adjusts the image gamma
getHandle
in file GD.php, method Image_Transform_Driver_GD::getHandle()
    Returns the GD image handle
greyscale
in file GD.php, method Image_Transform_Driver_GD::greyscale()
    Converts the image to greyscale
GD.php
procedural page GD.php
gamma
in file IM.php, method Image_Transform_Driver_IM::gamma()
    Adjust the image gamma
greyscale
in file IM.php, method Image_Transform_Driver_IM::greyscale()
    Convert the image to greyscale
gamma
in file Imagick2.php, method Image_Transform_Driver_Imagick2::gamma()
    Adjusts the image gamma
gamma
in file Imagick3.php, method Image_Transform_Driver_Imagick3::gamma()
    Adjusts the image gamma
greyscale
in file Imagick3.php, method Image_Transform_Driver_Imagick3::greyscale()
    Converts the image to greyscale
gamma
in file NetPBM.php, method Image_Transform_Driver_NetPBM::gamma()
    Adjust the image gamma
greyscale
in file NetPBM.php, method Image_Transform_Driver_NetPBM::greyscale()
    Converts an image into greyscale colors
top

i

$image
in file Transform.php, variable Image_Transform::$image
    Name of the image file
$imageHandle
in file Imlib.php, variable Image_Transform_Driver_Imlib::$imageHandle
    Holds the image file for manipulation
$img_x
in file Transform.php, variable Image_Transform::$img_x
    Original image width in x direction
$img_y
in file Transform.php, variable Image_Transform::$img_y
    Original image width in y direction
Image_Transform
in file Transform.php, class Image_Transform
    Base class with factory method for backend driver
ImageTypes.php
procedural page ImageTypes.php
Imlib.php
procedural page Imlib.php
index.php
procedural page index.php
IMAGE_TRANSFORM_DRIVER_FILE_MISSING
in file Transform.php, constant IMAGE_TRANSFORM_DRIVER_FILE_MISSING
    Error code for inexsitant driver errors
Image_Transform_Driver_Imlib
in file Imlib.php, class Image_Transform_Driver_Imlib
    Performs image manipulation with the imlib library.
IMAGE_TRANSFORM_ERROR_ARGUMENT
in file Transform.php, constant IMAGE_TRANSFORM_ERROR_ARGUMENT
    Error code for invalid arguments
IMAGE_TRANSFORM_ERROR_FAILED
in file Transform.php, constant IMAGE_TRANSFORM_ERROR_FAILED
    Error code for failed transformation operations
IMAGE_TRANSFORM_ERROR_IO
in file Transform.php, constant IMAGE_TRANSFORM_ERROR_IO
    Error code for failed i/o (Input/Output) operations
IMAGE_TRANSFORM_ERROR_OUTOFBOUND
in file Transform.php, constant IMAGE_TRANSFORM_ERROR_OUTOFBOUND
    Error code for out-of-bound related errors
IMAGE_TRANSFORM_ERROR_UNSUPPORTED
in file Transform.php, constant IMAGE_TRANSFORM_ERROR_UNSUPPORTED
    Error code for unsupported library, image format or methods
Image_Transform_Imlib
in file Imlib.php, method Image_Transform_Driver_Imlib::Image_Transform_Imlib()
    Check settings
IMAGE_TRANSFORM_LIB_PATH
in file test.php, constant IMAGE_TRANSFORM_LIB_PATH
intersects
in file Transform.php, method Image_Transform::intersects()
    Checks if the rectangle passed intersects with the current image
isError
in file Transform.php, method Image_Transform::isError()
    Returns/sets an error when the instance couldn't initialize properly
Image_Transform_Driver_Cairowrapper
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::Image_Transform_Driver_Cairowrapper()
    Check settings
Image_Transform_Driver_Cairowrapper
in file Cairowrapper.php, class Image_Transform_Driver_Cairowrapper
    Cairo implementation for Image_Transform package using pecl's cairo_wrapper extension.
$imageHandle
in file GD.php, variable Image_Transform_Driver_GD::$imageHandle
    Holds the image resource for manipulation
Image_Transform_Driver_GD
in file GD.php, method Image_Transform_Driver_GD::Image_Transform_Driver_GD()
    Check settings
Image_Transform_Driver_GD
in file GD.php, class Image_Transform_Driver_GD
    GD implementation for Image_Transform package
IM.php
procedural page IM.php
Image_Transform_Driver_IM
in file IM.php, method Image_Transform_Driver_IM::Image_Transform_Driver_IM()
    Class constructor
Image_Transform_Driver_IM
in file IM.php, class Image_Transform_Driver_IM
    ImageMagick binaries implementation for Image_Transform package
$imageHandle
in file Imagick2.php, variable Image_Transform_Driver_Imagick2::$imageHandle
    Handler of the imagick image ressource
Imagick2.php
procedural page Imagick2.php
Image_Transform_Driver_Imagick2
in file Imagick2.php, method Image_Transform_Driver_Imagick2::Image_Transform_Driver_Imagick2()
Image_Transform_Driver_Imagick2
in file Imagick2.php, class Image_Transform_Driver_Imagick2
    imagick PECL extension implementation for Image_Transform package
$imagick
in file Imagick3.php, variable Image_Transform_Driver_Imagick3::$imagick
    Instance of imagick
Imagick3.php
procedural page Imagick3.php
Image_Transform_Driver_Imagick3
in file Imagick3.php, method Image_Transform_Driver_Imagick3::Image_Transform_Driver_Imagick3()
Image_Transform_Driver_Imagick3
in file Imagick3.php, class Image_Transform_Driver_Imagick3
    imagick PECL extension implementation for Image_Transform package
Image_Transform_Driver_NetPBM
in file NetPBM.php, method Image_Transform_Driver_NetPBM::Image_Transform_Driver_NetPBM()
    Class Constructor
Image_Transform_Driver_NetPBM
in file NetPBM.php, class Image_Transform_Driver_NetPBM
    NetPBM implementation for Image_Transform package
top

k

$keep_settings_on_save
in file Transform.php, variable Image_Transform::$keep_settings_on_save
    Flag for whether settings should be discarded on saving/display of image
keepSettingsOnSave
in file Transform.php, method Image_Transform::keepSettingsOnSave()
top

l

$lib_path
in file Transform.php, variable Image_Transform::$lib_path
    Path to the library used
load
in file Transform.php, method Image_Transform::load()
    Loads an image file to work with
load
in file Imlib.php, method Image_Transform_Driver_Imlib::load()
    Load image
load
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::load()
    Loads an image from file
load
in file GD.php, method Image_Transform_Driver_GD::load()
    Loads an image from file
load
in file IM.php, method Image_Transform_Driver_IM::load()
    Load an image.
load
in file Imagick2.php, method Image_Transform_Driver_Imagick2::load()
    Loads an image
load
in file Imagick3.php, method Image_Transform_Driver_Imagick3::load()
    Loads an image
load
in file NetPBM.php, method Image_Transform_Driver_NetPBM::load()
    Load image
top

m

mirror
in file Transform.php, method Image_Transform::mirror()
    Horizontal mirroring
mirror
in file Imlib.php, method Image_Transform_Driver_Imlib::mirror()
    Horizontal mirroring
mirror
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::mirror()
    Mirrors the image horizontally.
mirror
in file GD.php, method Image_Transform_Driver_GD::mirror()
    Horizontal mirroring
mirror
in file IM.php, method Image_Transform_Driver_IM::mirror()
    Horizontal mirroring
mirror
in file Imagick2.php, method Image_Transform_Driver_Imagick2::mirror()
    Horizontal mirroring
mirror
in file Imagick3.php, method Image_Transform_Driver_Imagick3::mirror()
    Horizontal mirroring
mirror
in file NetPBM.php, method Image_Transform_Driver_NetPBM::mirror()
    Horizontal mirroring
top

n

$new_x
in file Transform.php, variable Image_Transform::$new_x
    New image width in x direction
$new_y
in file Transform.php, variable Image_Transform::$new_y
    New image width in y direction
normalize
in file Transform.php, method Image_Transform::normalize()
    Normalizes the colors, gamma and other properties of an image (this should give a result equivalent to a Photoshop autolevels)
NetPBM.php
procedural page NetPBM.php
top

o

$oldHandle
in file Imlib.php, variable Image_Transform_Driver_Imlib::$oldHandle
    Holds the original image file
$oldImage
in file GD.php, variable Image_Transform_Driver_GD::$oldImage
    Holds the original image file
$oldImage
in file Imagick2.php, variable Image_Transform_Driver_Imagick2::$oldImage
    Handler of the image ressource before
$oldImage
in file Imagick3.php, variable Image_Transform_Driver_Imagick3::$oldImage
    Handler of the image resource before
top

r

$resized
in file Transform.php, variable Image_Transform::$resized
    Flag to warn if image has been resized more than once before displaying or saving.
resize.php
procedural page resize.php
resize
in file Transform.php, method Image_Transform::resize()
    Resizes the image in the X and/or Y direction(s)
rotate
in file Transform.php, method Image_Transform::rotate()
    Rotates the image clockwise
rotate
in file Imlib.php, method Image_Transform_Driver_Imlib::rotate()
    Rotate image by the given angle
rotate
in file GD.php, method Image_Transform_Driver_GD::rotate()
    Rotates image by the given angle
rotate
in file IM.php, method Image_Transform_Driver_IM::rotate()
    rotate
raiseError
in file Imagick2.php, method Image_Transform_Driver_Imagick2::raiseError()
    RaiseError Method - shows imagick Raw errors.
rotate
in file Imagick2.php, method Image_Transform_Driver_Imagick2::rotate()
    Rotates the current image Note: color mask are currently not supported
raiseError
in file Imagick3.php, method Image_Transform_Driver_Imagick3::raiseError()
    RaiseError Method - shows imagick Raw errors.
rotate
in file Imagick3.php, method Image_Transform_Driver_Imagick3::rotate()
    Rotates the current image
rotate
in file NetPBM.php, method Image_Transform_Driver_NetPBM::rotate()
    Rotates the image
top

s

save
in file Transform.php, method Image_Transform::save()
    Saves image to file
save
in file Imlib.php, method Image_Transform_Driver_Imlib::save()
    Save the image file. Determines what type of image to save based on extension.
scale
in file Transform.php, method Image_Transform::scale()
    Scales an image by a percentage, factor or a given length
scaleByFactor
in file Transform.php, method Image_Transform::scaleByFactor()
    Scales an image to a factor of its original size. For example, if my image was 640x480 and I called scaleByFactor(0.5) then the image would be resized to 320x240.
scaleByLength
in file Transform.php, method Image_Transform::scaleByLength()
    Alias for scaleMaxLength
scaleByPercentage
in file Transform.php, method Image_Transform::scaleByPercentage()
    Scales an image to a percentage of its original size. For example, if my image was 640x480 and I called scaleByPercentage(10) then the image would be resized to 64x48
scaleByX
in file Transform.php, method Image_Transform::scaleByX()
    Scales the image to the specified width
scaleByXY
in file Transform.php, method Image_Transform::scaleByXY()
    Alias for resize()
scaleByY
in file Transform.php, method Image_Transform::scaleByY()
    Scales the image to the specified height.
scaleMaxLength
in file Transform.php, method Image_Transform::scaleMaxLength()
    Scales an image so that the longest side has the specified dimension.
setOption
in file Transform.php, method Image_Transform::setOption()
    Sets one options
setOptions
in file Transform.php, method Image_Transform::setOptions()
    Sets multiple options at once
supportsType
in file Transform.php, method Image_Transform::supportsType()
    Returns if the driver supports a given image type
$surface
in file Cairowrapper.php, variable Image_Transform_Driver_Cairowrapper::$surface
save
in file Cairowrapper.php, method Image_Transform_Driver_Cairowrapper::save()
    Saves the scaled image into a file.
save
in file GD.php, method Image_Transform_Driver_GD::save()
    Saves the image to a file
save
in file IM.php, method Image_Transform_Driver_IM::save()
    Save the image file
save
in file Imagick2.php, method Image_Transform_Driver_Imagick2::save()
    Saves the image to a file
save
in file Imagick3.php, method Image_Transform_Driver_Imagick3::save()
    Saves the image to a file
save
in file NetPBM.php, method Image_Transform_Driver_NetPBM::save()
    Save the image file
top

t

$type
in file Transform.php, variable Image_Transform::$type
    Type of the image file (eg. jpg, gif png ...)
test.php
procedural page test.php
test_netpbm.php
procedural page test_netpbm.php
Transform.php
procedural page Transform.php
test.php
procedural page test.php
text.php
procedural page text.php
TEST_DIR
in file test.php, constant TEST_DIR
    Usage: test.php?driver=XX
TEST_IMAGE_DIR
in file test.php, constant TEST_IMAGE_DIR
TEST_OUTPUT_DIR
in file test.php, constant TEST_OUTPUT_DIR
top

Documentation generated on Wed, 04 Apr 2012 00:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.