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

Index of all elements

[ c ] [ e ] [ g ] [ h ] [ i ] [ n ] [ r ] [ s ] [ t ] [ w ]

c

customName
in file netpbmresize.class.php, method ImageInfo::customName()
    Returns the nice image filename with the custom suffix added.
top

e

extension
in file netpbmresize.class.php, method ImageInfo::extension()
    Returns the image extension.
top

g

getDestination
in file netpbmresize.class.php, method NetpbmResize::getDestination()
    Calculates the resized image filaname since it can come from $OutputImage or just be the original filename with a suffix appended.
getHeight
in file netpbmresize.class.php, method NetpbmResize::getHeight()
getNiceName
in file netpbmresize.class.php, method NetpbmResize::getNiceName()
    Returns the nice name (without spaces, special chars, etc.) of the last image processed.
getOutputImage
in file netpbmresize.class.php, method NetpbmResize::getOutputImage()
    Gets the filename of the resized image.
getWidth
in file netpbmresize.class.php, method NetpbmResize::getWidth()
getWorkingDir
in file netpbmresize.class.php, method NetpbmResize::getWorkingDir()
    Gets the working directory.
top

h

height
in file netpbmresize.class.php, method ImageInfo::height()
    Returns the image height.
top

i

ImageInfo
in file netpbmresize.class.php, method ImageInfo::ImageInfo()
    Constructor. Uses getimagesize() output as initial data.
ImageInfo
in file netpbmresize.class.php, class ImageInfo
    Stores all the required/useful information of a given image in an array and provides accessor methods to that data.
top

n

name
in file netpbmresize.class.php, method ImageInfo::name()
    Returns the image name after being converted to a nice version.
NetpbmResize
in file netpbmresize.class.php, method NetpbmResize::NetpbmResize()
    Constructor.
NetpbmResize
in file netpbmresize.class.php, class NetpbmResize
    NetpbmResize is a php class that works as a wrapper for the netpbm binaries which are easily obtainable thanks to the Gallery project (http://tinyurl.com/25daoc). It is *only* focused on resizing images (by Width, Height, Percentage or Bounding Box) and create square thumbnails.
netpbmresize.class.php
procedural page netpbmresize.class.php
top

r

resize
in file netpbmresize.class.php, method NetpbmResize::resize()
    Generic resize method, it defaults to resize by Bounding Box. The first parameter can also be an array containing different dimensions and suffixes so you can have different resized versions of the original image.
resizeByBoundingBox
in file netpbmresize.class.php, method NetpbmResize::resizeByBoundingBox()
    This does a bounding box resize. It will try to fit the image into a box with the columns and rows specified.
resizeByDimensions
in file netpbmresize.class.php, method NetpbmResize::resizeByDimensions()
    This does a specific resize. It resizes the image to the specified dimensions without altering the aspect ratio, but of course the algorithm used centers the new frame and some portions of the image are lost. Also, the original image should be larger than the target image.
resizeByHeight
in file netpbmresize.class.php, method NetpbmResize::resizeByHeight()
    Resizes an image taking height as the base dimension.
resizeByPercentage
in file netpbmresize.class.php, method NetpbmResize::resizeByPercentage()
    Resizes an image by a percentage.
resizeByWidth
in file netpbmresize.class.php, method NetpbmResize::resizeByWidth()
    Resizes an image taking width as the base dimension.
top

s

setImage
in file netpbmresize.class.php, method NetpbmResize::setImage()
    Checks if image is empty, if not sets the image info object
setImageInfo
in file netpbmresize.class.php, method NetpbmResize::setImageInfo()
    Initializes the ImageInfo object useful for retrieving Image info.
setOutputImage
in file netpbmresize.class.php, method NetpbmResize::setOutputImage()
    Sets the filename of the resized image.
setSuffix
in file netpbmresize.class.php, method NetpbmResize::setSuffix()
    Sets the default suffix of the the resized image.
setWorkingDir
in file netpbmresize.class.php, method NetpbmResize::setWorkingDir()
    Sets the working directory.
squareThumbnail
in file netpbmresize.class.php, method NetpbmResize::squareThumbnail()
    Uses pnmcut to produce square thumbnails (pnmcut left top width height).
top

t

tempName
in file netpbmresize.class.php, method ImageInfo::tempName()
    Returns the image temp name. Possibly not useful at this point. This could change in the future.
type
in file netpbmresize.class.php, method ImageInfo::type()
    Returns the format of the image like GIF, JPG or PNG as an integer.
top

w

width
in file netpbmresize.class.php, method ImageInfo::width()
    Returns the image width.
top

Documentation generated on Thu, 02 Aug 2007 21:20:10 -0700 by phpDocumentor 1.3.2

SourceForge.net Logo