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

Class: ImageInfo

Source Location: /netpbmresize.class.php

Class Overview


Stores all the required/useful information of a given image in an array and provides accessor methods to that data.


Author(s):

Methods



Class Details

[line 523]
Stores all the required/useful information of a given image in an array and provides accessor methods to that data.



Tags:

author:  Favio Manriquez <favio@favrik.com>
see:  NetpbmResize
access:  public


[ Top ]


Class Methods


constructor ImageInfo [line 547]

void ImageInfo( $Image, string $image)

Constructor. Uses getimagesize() output as initial data.



Tags:

access:  public


Parameters:

string   $image   full path of an image
   $Image  

[ Top ]

method customName [line 673]

string customName( string $suffix)

Returns the nice image filename with the custom suffix added.



Tags:

return:  nice image filename with custom suffix added
access:  public


Parameters:

string   $suffix   suffix for image

[ Top ]

method extension [line 629]

string extension( void 0)

Returns the image extension.



Tags:

return:  image extension
access:  public


Parameters:

void   0  

[ Top ]

method height [line 651]

int height( void 0)

Returns the image height.



Tags:

return:  image height
access:  public


Parameters:

void   0  

[ Top ]

method name [line 662]

string name( void 0)

Returns the image name after being converted to a nice version.



Tags:

return:  nice image filename
access:  public


Parameters:

void   0  

[ Top ]

method tempName [line 685]

string tempName( void 0)

Returns the image temp name. Possibly not useful at this point. This could change in the future.



Tags:

return:  image temp filename
access:  public


Parameters:

void   0  

[ Top ]

method type [line 618]

string type( void 0)

Returns the format of the image like GIF, JPG or PNG as an integer.



Tags:

return:  image format
access:  public


Parameters:

void   0  

[ Top ]

method width [line 640]

int width( void 0)

Returns the image width.



Tags:

return:  image width
access:  public


Parameters:

void   0  

[ Top ]


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

SourceForge.net Logo