Image_Tools
[ class tree: Image_Tools ] [ index: Image_Tools ] [ all elements ]

Class: Image_Tools_Utils

Source Location: /Image_Tools-1.0.0RC1/Image/Tools/Utils.php

Class Overview


Image tools utilities class.


Author(s):

Version:

  • Release: 1.0.0RC1

Copyright:

  • Copyright (c) 2008 Firman Wandayandi <firman@php.net>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 43]
Image tools utilities class.
  • Author: Firman Wandayandi <firman@php.net>
  • Version: Release: 1.0.0RC1
  • Copyright: Copyright (c) 2008 Firman Wandayandi <firman@php.net>
  • Since: Class available since Release 1.0.0RC1
  • License: BSD License


[ Top ]


Method Detail

colorToRGBA   [line 55]

array|FALSE colorToRGBA( mixed $color)

Convert various color format to RGBA array.
  • Return: An RGBA array or FALSE on failure
  • Access: public

Parameters:

mixed   $color   —  Color value (array, string or integer)

[ Top ]

compareGDVersion   [line 122]

boolean compareGDVersion( string $version, string $operator)

Compare the "PHP-standardized" version number string with the current loaded GD.

Parameters:

string   $version   — 
string   $operator   — 

[ Top ]

getGDVersion   [line 101]

string getGDVersion( )

Get the loaded GD version.
  • Return: Version
  • Access: protected

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:22:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.