ZenphotoCMS 1.6.2

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
deprecated
2.0

Use the global object varible $_zp_graphics and its class methods instead

since
1.6

Table of Contents

Functions

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_createImage()

zp_createImage(mixed $w, mixed $h) : mixed
Parameters
$w : mixed
$h : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageFill()

zp_imageFill(mixed $image, mixed $x, mixed $y, mixed $color) : mixed
Parameters
$image : mixed
$x : mixed
$y : mixed
$color : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageColorTransparent()

zp_imageColorTransparent(mixed $image, mixed $color) : mixed
Parameters
$image : mixed
$color : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageUnsharpMask()

zp_imageUnsharpMask(mixed $img, mixed $amount, mixed $radius, mixed $threshold) : mixed
Parameters
$img : mixed
$amount : mixed
$radius : mixed
$threshold : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageResizeAlpha()

zp_imageResizeAlpha(mixed &$src, mixed $w, mixed $h) : mixed
Parameters
$src : mixed
$w : mixed
$h : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageCanRotate()

zp_imageCanRotate() : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_rotateImage()

zp_rotateImage(mixed $im, mixed $rotate) : mixed
Parameters
$im : mixed
$rotate : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageDims()

zp_imageDims(mixed $filename) : mixed
Parameters
$filename : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageIPTC()

zp_imageIPTC(mixed $filename) : mixed
Parameters
$filename : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageWidth()

zp_imageWidth(mixed $im) : mixed
Parameters
$im : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageHeight()

zp_imageHeight(mixed $im) : mixed
Parameters
$im : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead

since
1.6.

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageGray()

zp_imageGray(mixed $image) : mixed
Parameters
$image : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageKill()

zp_imageKill(mixed $im) : mixed
Parameters
$im : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_colorAllocate()

zp_colorAllocate(mixed $image, mixed $red, mixed $green, mixed $blue) : mixed
Parameters
$image : mixed
$red : mixed
$green : mixed
$blue : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_graphicsLibInfo()

zp_graphicsLibInfo() : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_getFonts()

zp_getFonts() : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageLoadFont()

zp_imageLoadFont([mixed $font = NULL ][, mixed $size = 18 ]) : mixed
Parameters
$font : mixed = NULL
$size : mixed = 18
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageFontWidth()

zp_imageFontWidth(mixed $font) : mixed
Parameters
$font : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageFontHeight()

zp_imageFontHeight(mixed $font) : mixed
Parameters
$font : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

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
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

zp_imageFromString()

zp_imageFromString(mixed $string) : mixed
Parameters
$string : mixed
Tags
deprecated
2.0

Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

since
1.6

        
On this page

Search results