PHP Class phpthumb_functions, SPIP

Show file Open project: spip/SPIP Class Usage Examples

Public Methods

Method Description
GD2ICOstring ( array &$gd_image_array ) : string Transforme une ressource GD en image au format ICO
GetPixelColor ( ressource &$img, integer $x, integer $y ) : array | boolean Retourne la couleur d'un pixel dans une image
LittleEndian2String ( integer $number, integer $minbytes = 1 ) : string Retourne un nombre dans une représentation en Little Endian

Method Details

GD2ICOstring() public static method

Transforme une ressource GD en image au format ICO
public static GD2ICOstring ( array &$gd_image_array ) : string
$gd_image_array array Tableau de ressources d'images GD
return string Image au format ICO

GetPixelColor() public static method

Retourne la couleur d'un pixel dans une image
public static GetPixelColor ( ressource &$img, integer $x, integer $y ) : array | boolean
$img ressource
$x integer
$y integer
return array | boolean

LittleEndian2String() public static method

Retourne un nombre dans une représentation en Little Endian
public static LittleEndian2String ( integer $number, integer $minbytes = 1 ) : string
$number integer
$minbytes integer
return string