functions-graphics.php
Deprecated wrapper function library for image handling functions using either GD or Imagick classes
Use the global object $_zp_graphics
and its methods of the same name instead of these functions.
Tags
Table of Contents
- zp_imageGet() : mixed
- zp_imageOutput() : mixed
- zp_createImage() : mixed
- zp_imageFill() : mixed
- zp_imageColorTransparent() : mixed
- zp_copyCanvas() : mixed
- zp_resampleImage() : mixed
- zp_imageUnsharpMask() : mixed
- zp_imageResizeAlpha() : mixed
- zp_imageCanRotate() : mixed
- zp_rotateImage() : mixed
- zp_imageDims() : mixed
- zp_imageIPTC() : mixed
- zp_imageWidth() : mixed
- zp_imageHeight() : mixed
- zp_imageMerge() : mixed
- zp_imageGray() : mixed
- zp_imageKill() : mixed
- zp_colorAllocate() : mixed
- zp_writeString() : mixed
- zp_drawRectangle() : mixed
- zp_graphicsLibInfo() : mixed
- zp_getFonts() : mixed
- zp_imageLoadFont() : mixed
- zp_imageFontWidth() : mixed
- zp_imageFontHeight() : mixed
- imageBlurGD() : mixed
- zp_imageFromString() : mixed
Functions
zp_imageGet()
zp_imageGet(mixed $imgfile) : mixed
Parameters
- $imgfile : mixed
Tags
Return values
mixed —zp_imageOutput()
zp_imageOutput(mixed $im, mixed $type[, mixed $filename = NULL ][, mixed $qual = 75 ]) : mixed
Parameters
- $im : mixed
- $type : mixed
- $filename : mixed = NULL
- $qual : mixed = 75
Tags
Return values
mixed —zp_createImage()
zp_createImage(mixed $w, mixed $h) : mixed
Parameters
- $w : mixed
- $h : mixed
Tags
Return values
mixed —zp_imageFill()
zp_imageFill(mixed $image, mixed $x, mixed $y, mixed $color) : mixed
Parameters
- $image : mixed
- $x : mixed
- $y : mixed
- $color : mixed
Tags
Return values
mixed —zp_imageColorTransparent()
zp_imageColorTransparent(mixed $image, mixed $color) : mixed
Parameters
- $image : mixed
- $color : mixed
Tags
Return values
mixed —zp_copyCanvas()
zp_copyCanvas(mixed $imgCanvas, mixed $img, mixed $dest_x, mixed $dest_y, mixed $src_x, mixed $src_y, mixed $w, mixed $h) : mixed
Parameters
- $imgCanvas : mixed
- $img : mixed
- $dest_x : mixed
- $dest_y : mixed
- $src_x : mixed
- $src_y : mixed
- $w : mixed
- $h : mixed
Tags
Return values
mixed —zp_resampleImage()
zp_resampleImage(mixed $dst_image, mixed $src_image, mixed $dst_x, mixed $dst_y, mixed $src_x, mixed $src_y, mixed $dst_w, mixed $dst_h, mixed $src_w, mixed $src_h) : mixed
Parameters
- $dst_image : mixed
- $src_image : mixed
- $dst_x : mixed
- $dst_y : mixed
- $src_x : mixed
- $src_y : mixed
- $dst_w : mixed
- $dst_h : mixed
- $src_w : mixed
- $src_h : mixed
Tags
Return values
mixed —zp_imageUnsharpMask()
zp_imageUnsharpMask(mixed $img, mixed $amount, mixed $radius, mixed $threshold) : mixed
Parameters
- $img : mixed
- $amount : mixed
- $radius : mixed
- $threshold : mixed
Tags
Return values
mixed —zp_imageResizeAlpha()
zp_imageResizeAlpha(mixed &$src, mixed $w, mixed $h) : mixed
Parameters
- $src : mixed
- $w : mixed
- $h : mixed
Tags
Return values
mixed —zp_imageCanRotate()
zp_imageCanRotate() : mixed
Tags
Return values
mixed —zp_rotateImage()
zp_rotateImage(mixed $im, mixed $rotate) : mixed
Parameters
- $im : mixed
- $rotate : mixed
Tags
Return values
mixed —zp_imageDims()
zp_imageDims(mixed $filename) : mixed
Parameters
- $filename : mixed
Tags
Return values
mixed —zp_imageIPTC()
zp_imageIPTC(mixed $filename) : mixed
Parameters
- $filename : mixed
Tags
Return values
mixed —zp_imageWidth()
zp_imageWidth(mixed $im) : mixed
Parameters
- $im : mixed
Tags
Return values
mixed —zp_imageHeight()
zp_imageHeight(mixed $im) : mixed
Parameters
- $im : mixed
Tags
Return values
mixed —zp_imageMerge()
zp_imageMerge(mixed $dst_im, mixed $src_im, mixed $dst_x, mixed $dst_y, mixed $src_x, mixed $src_y, mixed $src_w, mixed $src_h, mixed $pct) : mixed
Parameters
- $dst_im : mixed
- $src_im : mixed
- $dst_x : mixed
- $dst_y : mixed
- $src_x : mixed
- $src_y : mixed
- $src_w : mixed
- $src_h : mixed
- $pct : mixed
Tags
Return values
mixed —zp_imageGray()
zp_imageGray(mixed $image) : mixed
Parameters
- $image : mixed
Tags
Return values
mixed —zp_imageKill()
zp_imageKill(mixed $im) : mixed
Parameters
- $im : mixed
Tags
Return values
mixed —zp_colorAllocate()
zp_colorAllocate(mixed $image, mixed $red, mixed $green, mixed $blue) : mixed
Parameters
- $image : mixed
- $red : mixed
- $green : mixed
- $blue : mixed
Tags
Return values
mixed —zp_writeString()
zp_writeString(mixed $image, mixed $font, mixed $x, mixed $y, mixed $string, mixed $color) : mixed
Parameters
- $image : mixed
- $font : mixed
- $x : mixed
- $y : mixed
- $string : mixed
- $color : mixed
Tags
Return values
mixed —zp_drawRectangle()
zp_drawRectangle(mixed $image, mixed $x1, mixed $y1, mixed $x2, mixed $y2, mixed $color) : mixed
Parameters
- $image : mixed
- $x1 : mixed
- $y1 : mixed
- $x2 : mixed
- $y2 : mixed
- $color : mixed
Tags
Return values
mixed —zp_graphicsLibInfo()
zp_graphicsLibInfo() : mixed
Tags
Return values
mixed —zp_getFonts()
zp_getFonts() : mixed
Tags
Return values
mixed —zp_imageLoadFont()
zp_imageLoadFont([mixed $font = NULL ][, mixed $size = 18 ]) : mixed
Parameters
- $font : mixed = NULL
- $size : mixed = 18
Tags
Return values
mixed —zp_imageFontWidth()
zp_imageFontWidth(mixed $font) : mixed
Parameters
- $font : mixed
Tags
Return values
mixed —zp_imageFontHeight()
zp_imageFontHeight(mixed $font) : mixed
Parameters
- $font : mixed
Tags
Return values
mixed —imageBlurGD()
imageBlurGD(mixed $imgCanvas, mixed $imgCanvas2, mixed $radius, mixed $w, mixed $h) : mixed
Parameters
- $imgCanvas : mixed
- $imgCanvas2 : mixed
- $radius : mixed
- $w : mixed
- $h : mixed
Tags
Return values
mixed —zp_imageFromString()
zp_imageFromString(mixed $string) : mixed
Parameters
- $string : mixed