Element index for package NetpbmResize
[ 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
top
top
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
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
|
|