TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ImageInfo Class Reference
Inheritance diagram for ImageInfo:
FileInfo TypeInterface

Public Member Functions

 getWidth ()
 
 getHeight ()
 
- Public Member Functions inherited from FileInfo
 getMimeType ()
 
- Public Member Functions inherited from TypeInterface
 __toString ()
 

Protected Member Functions

 getImageSizes ()
 
 extractSvgImageSizes ()
 
 getGraphicalFunctions ()
 

Protected Attributes

 $imageSizes
 

Detailed Description

A SPL FileInfo class providing information related to an image.

Definition at line 24 of file ImageInfo.php.

Member Function Documentation

extractSvgImageSizes ( )
protected

Try to read SVG as XML file and find width and height

Returns
FALSE|array

Definition at line 86 of file ImageInfo.php.

References elseif.

Referenced by ImageInfo\getImageSizes().

getGraphicalFunctions ( )
protected
Returns
GraphicalFunctions

Definition at line 120 of file ImageInfo.php.

References GeneralUtility\makeInstance().

Referenced by ImageInfo\getImageSizes().

getHeight ( )

Returns the height of the Image.

Returns
int

Definition at line 47 of file ImageInfo.php.

References ImageInfo\$imageSizes, and ImageInfo\getImageSizes().

getImageSizes ( )
protected
getWidth ( )

Returns the width of the Image.

Returns
int

Definition at line 36 of file ImageInfo.php.

References ImageInfo\$imageSizes, and ImageInfo\getImageSizes().

Member Data Documentation

$imageSizes
protected

Definition at line 29 of file ImageInfo.php.

Referenced by ImageInfo\getHeight(), ImageInfo\getImageSizes(), and ImageInfo\getWidth().