CWIS Developer Documentation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Image Class Reference

Public Member Functions

 Image ($SourceFileName, $DebugLevel=0)
 
 SaveAs ($FileName, $NewImageType=NULL)
 
 XSize ()
 
 YSize ()
 
 ScaleTo ($ScaledXSize, $ScaledYSize, $MaintainAspectRatio=FALSE)
 
 CropTo ($CroppedXSize, $CroppedYSize, $CroppedXOrigin=0, $CroppedYOrigin=0)
 
 Type ($FileName=NULL)
 
 Mimetype ()
 Get the MIME type for the image. More...
 
 JpegQuality ($NewSetting=NULL)
 
 Status ()
 
 FailedExternalCommand ()
 
 ReadSize ()
 
 ImageFormatSupportedByPhp ($Format=NULL)
 

Static Public Member Functions

static Extension ($Type=NULL)
 
static SupportedFormats ()
 
static SupportedFormatNames ()
 

Public Attributes

 $GDVersion
 
 $ImageObj
 
 $SourceFileName
 
 $ImageXSize
 
 $ImageYSize
 
 $ScaledXSize
 
 $ScaledYSize
 
 $MaintainAspectRatio
 
 $CroppedXSize
 
 $CroppedYSize
 
 $CroppedXOrigin
 
 $CroppedYOrigin
 
 $JpegSaveQuality
 
 $DecodeCommand
 
 $ErrorStatus
 
 $FailedCommand
 
 $DebugLevel
 

Detailed Description

Definition at line 15 of file Axis--Image.php.

Member Function Documentation

Image::CropTo (   $CroppedXSize,
  $CroppedYSize,
  $CroppedXOrigin = 0,
  $CroppedYOrigin = 0 
)

Definition at line 274 of file Axis--Image.php.

References $CroppedXOrigin, $CroppedXSize, $CroppedYOrigin, and $CroppedYSize.

static Image::Extension (   $Type = NULL)
static

Definition at line 355 of file Axis--Image.php.

References Type().

Image::FailedExternalCommand ( )

Definition at line 446 of file Axis--Image.php.

References $FailedCommand.

Image::Image (   $SourceFileName,
  $DebugLevel = 0 
)
Image::ImageFormatSupportedByPhp (   $Format = NULL)

Definition at line 491 of file Axis--Image.php.

References IMGTYPE_BMP, IMGTYPE_GIF, IMGTYPE_JPEG, IMGTYPE_PNG, and Type().

Referenced by Image(), and SaveAs().

Here is the caller graph for this function:

Image::JpegQuality (   $NewSetting = NULL)

Definition at line 375 of file Axis--Image.php.

References $JpegSaveQuality.

Image::Mimetype ( )

Get the MIME type for the image.

Returns
Returns the MIME type for the image.

Definition at line 298 of file Axis--Image.php.

References $SourceFileName, IMGTYPE_BMP, IMGTYPE_GIF, IMGTYPE_JPEG, IMGTYPE_PNG, and Type().

Image::ReadSize ( )

Definition at line 480 of file Axis--Image.php.

Referenced by XSize(), and YSize().

Here is the caller graph for this function:

Image::SaveAs (   $FileName,
  $NewImageType = NULL 
)
Image::ScaleTo (   $ScaledXSize,
  $ScaledYSize,
  $MaintainAspectRatio = FALSE 
)

Definition at line 265 of file Axis--Image.php.

References $MaintainAspectRatio, $ScaledXSize, and $ScaledYSize.

Image::Status ( )

Definition at line 440 of file Axis--Image.php.

References $ErrorStatus.

static Image::SupportedFormatNames ( )
static

Definition at line 416 of file Axis--Image.php.

References SupportedFormats().

static Image::SupportedFormats ( )
static

Definition at line 382 of file Axis--Image.php.

References IMGTYPE_GIF, IMGTYPE_JPEG, and IMGTYPE_PNG.

Referenced by SupportedFormatNames().

Here is the caller graph for this function:

Image::Type (   $FileName = NULL)

Definition at line 284 of file Axis--Image.php.

References $SourceFileName, IMGTYPE_BMP, IMGTYPE_GIF, IMGTYPE_JPEG, IMGTYPE_PNG, and IMGTYPE_UNKNOWN.

Referenced by Extension(), Image(), ImageFormatSupportedByPhp(), Mimetype(), and SaveAs().

Here is the caller graph for this function:

Image::XSize ( )

Definition at line 251 of file Axis--Image.php.

References $ImageXSize, and ReadSize().

Referenced by SaveAs().

Here is the caller graph for this function:

Image::YSize ( )

Definition at line 258 of file Axis--Image.php.

References $ImageYSize, and ReadSize().

Referenced by SaveAs().

Here is the caller graph for this function:

Member Data Documentation

Image::$CroppedXOrigin

Definition at line 464 of file Axis--Image.php.

Referenced by CropTo().

Image::$CroppedXSize

Definition at line 462 of file Axis--Image.php.

Referenced by CropTo(), and SaveAs().

Image::$CroppedYOrigin

Definition at line 465 of file Axis--Image.php.

Referenced by CropTo().

Image::$CroppedYSize

Definition at line 463 of file Axis--Image.php.

Referenced by CropTo(), and SaveAs().

Image::$DebugLevel

Definition at line 470 of file Axis--Image.php.

Referenced by Image().

Image::$DecodeCommand

Definition at line 467 of file Axis--Image.php.

Image::$ErrorStatus

Definition at line 468 of file Axis--Image.php.

Referenced by SaveAs(), and Status().

Image::$FailedCommand

Definition at line 469 of file Axis--Image.php.

Referenced by FailedExternalCommand().

Image::$GDVersion

Definition at line 454 of file Axis--Image.php.

Image::$ImageObj

Definition at line 455 of file Axis--Image.php.

Referenced by SaveAs().

Image::$ImageXSize

Definition at line 457 of file Axis--Image.php.

Referenced by XSize().

Image::$ImageYSize

Definition at line 458 of file Axis--Image.php.

Referenced by YSize().

Image::$JpegSaveQuality

Definition at line 466 of file Axis--Image.php.

Referenced by JpegQuality().

Image::$MaintainAspectRatio

Definition at line 461 of file Axis--Image.php.

Referenced by ScaleTo().

Image::$ScaledXSize

Definition at line 459 of file Axis--Image.php.

Referenced by SaveAs(), and ScaleTo().

Image::$ScaledYSize

Definition at line 460 of file Axis--Image.php.

Referenced by SaveAs(), and ScaleTo().

Image::$SourceFileName

Definition at line 456 of file Axis--Image.php.

Referenced by Image(), Mimetype(), and Type().


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