TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
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 23 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 85 of file ImageInfo.php.

Referenced by ImageInfo\getImageSizes().

getGraphicalFunctions ( )
protected
Returns
GraphicalFunctions

Definition at line 123 of file ImageInfo.php.

References GeneralUtility\makeInstance().

Referenced by ImageInfo\getImageSizes().

getHeight ( )

Returns the height of the Image.

Returns
int

Definition at line 46 of file ImageInfo.php.

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

getImageSizes ( )
protected
getWidth ( )

Returns the width of the Image.

Returns
int

Definition at line 35 of file ImageInfo.php.

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

Member Data Documentation

$imageSizes
protected

Definition at line 28 of file ImageInfo.php.

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