IImageInformation Interface Reference
[ImageTools]
Interface for image informations. More...
Inheritance diagram for
IImageInformation:
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.
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 |
|||
) |
The documentation for this interface was generated from the following file:
- contributions/lib.imagetools/lib/interfaces/iimageinformation.cls.php