Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

  • Jaguar
    • Action
      • Blur
      • Color
      • Pixelate
      • Preset
    • Color
    • Drawable
      • Border
      • Style
      • Text
    • Exception
    • Factory
    • Format
    • Gradient

Classes

  • AbstractCanvas
  • Box
  • Canvas
  • CompressableCanvas
  • Coordinate
  • Dimension
  • Font
  • ImageFile
  • Transformation
  • Util

Interfaces

  • CanvasFactory
  • CanvasInterface
  • EqualsInterface

Class ImageFile

SplFileInfo
Extended by Jaguar\ImageFile
Namespace: Jaguar
Located at Jaguar/ImageFile.php

Methods summary

public
# __construct( string $file )

Construct new Image File Object

Construct new Image File Object

Parameters

$file
string
$file

Throws

InvalidArgumentException
RuntimeException

Overrides

SplFileInfo::__construct
public string
# getExtension( )

Get Image File Extension

Get Image File Extension

Returns

string

Overrides

SplFileInfo::getExtension
public string
# getMime( )

Get Image Mime Type

Get Image Mime Type

Returns

string
public integer
# getWidth( )

Get Image Width

Get Image Width

Returns

integer
public integer
# getHeight( )

Get Image Height

Get Image Height

Returns

integer
public Jaguar\Dimension
# getDimension( )

Get image's dimension object

Get image's dimension object

Returns

Jaguar\Dimension
public string
# __toString( )

Get text string with the correct height="yyy" width="xxx" string that can be used directly in an IMG tag

Get text string with the correct height="yyy" width="xxx" string that can be used directly in an IMG tag

Returns

string

Overrides

SplFileInfo::__toString

Methods inherited from SplFileInfo

_bad_state_ex(), getATime(), getBasename(), getCTime(), getFileInfo(), getFilename(), getGroup(), getInode(), getLinkTarget(), getMTime(), getOwner(), getPath(), getPathInfo(), getPathname(), getPerms(), getRealPath(), getSize(), getType(), isDir(), isExecutable(), isFile(), isLink(), isReadable(), isWritable(), openFile(), setFileClass(), setInfoClass()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0