.

ImageInformationIMagick Class Reference
[ImageTools]

Image information implementation for IMagick. More...

Inheritance diagram for ImageInformationIMagick:
IImageInformation

List of all members.

Public Member Functions

  __construct ($img)
  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.

Detailed Description

Image information implementation for IMagick.

Author:
Gerd Riesselmann

Definition at line 30 of file imagetools.imagick.cls.php.


Constructor & Destructor Documentation

ImageInformationIMagick::__construct ( img  ) 

Definition at line 32 of file imagetools.imagick.cls.php.

00032                                           {
00033                 $this->img = $img;
00034         }       

Member Function Documentation

ImageInformationIMagick::get_binary_data (  ) 

Returns raw image data.

Returns:
string

Implements IImageInformation.

Definition at line 56 of file imagetools.imagick.cls.php.

00056                                           {
00057                 return $img->getImageBlob();
00058         }
ImageInformationIMagick::get_extension (  ) 

Returns image file extension.

Returns:
int

Implements IImageInformation.

Definition at line 72 of file imagetools.imagick.cls.php.

00072                                         {
00073                 
00074         }       
ImageInformationIMagick::get_height (  ) 

Returns height in pixel.

Returns:
int

Implements IImageInformation.

Definition at line 40 of file imagetools.imagick.cls.php.

00040                                      {
00041                 return $img->getImageHeight();
00042         }
ImageInformationIMagick::get_mime_type (  ) 

Returns image mime type.

Returns:
string

Implements IImageInformation.

Definition at line 64 of file imagetools.imagick.cls.php.

00064                                         {
00065                 
00066         }
ImageInformationIMagick::get_width (  ) 

Returns width in pixel.

Returns:
int

Implements IImageInformation.

Definition at line 48 of file imagetools.imagick.cls.php.

00048                                     {
00049                 return $img->getImageWidth();
00050         }

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