.

IImageInformation Interface Reference
[ImageTools]

Interface for image informations. More...

Inheritance diagram for IImageInformation:
ImageInformationGD ImageInformationIMagick

List of all members.

Public Member Functions

  get_binary_data ()
  Returns raw image data.
  get_extension ()
  Returns image file extension.
  get_height ()
  Returns height in pixel.
  get_mime_type ()
  Returns image mime type.
  get_width ()
  Returns width in pixel.
  save_to_file ($file, $add_extension=true)
  Saves to given file.

Detailed Description

Interface for image informations.

Contains information like size, mime-type, extension etc.

Author:
Gerd Riesselmann

Definition at line 10 of file iimageinformation.cls.php.


Member Function Documentation

IImageInformation::get_binary_data (  ) 

Returns raw image data.

Returns:
string

Implemented in ImageInformationGD, and ImageInformationIMagick.

IImageInformation::get_extension (  ) 

Returns image file extension.

Returns:
int

Implemented in ImageInformationGD, and ImageInformationIMagick.

IImageInformation::get_height (  ) 

Returns height in pixel.

Returns:
int

Implemented in ImageInformationGD, and ImageInformationIMagick.

IImageInformation::get_mime_type (  ) 

Returns image mime type.

Returns:
string

Implemented in ImageInformationGD, and ImageInformationIMagick.

IImageInformation::get_width (  ) 

Returns width in pixel.

Returns:
int

Implemented in ImageInformationGD, and ImageInformationIMagick.

IImageInformation::save_to_file ( file,
add_extension = true  
)

Saves to given file.

Returns:
bool

Implemented in ImageInformationGD.


The documentation for this interface was generated from the following file: