\image

图像处理类

Summary

Methods
Properties
Constants
image()
__construct()
thumb()
watermark()
thumb_gd()
watermark_gd()
$attachinfo
$targetfile
$imagecreatefromfunc
$imagefunc
$attach
$animatedgif
$watermarkquality
$watermarktext
$thumbstatus
$watermarkstatus
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$attachinfo

$attachinfo : 

Type

$targetfile

$targetfile : 

Type

$imagecreatefromfunc

$imagecreatefromfunc : 

Type

$imagefunc

$imagefunc : 

Type

$attach

$attach : 

Type

$animatedgif

$animatedgif : 

Type

$watermarkquality

$watermarkquality : 

Type

$watermarktext

$watermarktext : 

Type

$thumbstatus

$thumbstatus : 

Type

$watermarkstatus

$watermarkstatus : 

Type

Methods

image()

image(  $targetfile,   $cfg_thumb,   $cfg_watermarktext,   $photo_waterpos,   $photo_diaphaneity,   $photo_wheight,   $photo_wwidth,   $cfg_watermarktype,   $photo_marktrans,   $trueMarkimg,   $attach = array()) 

Parameters

$targetfile
$cfg_thumb
$cfg_watermarktext
$photo_waterpos
$photo_diaphaneity
$photo_wheight
$photo_wwidth
$cfg_watermarktype
$photo_marktrans
$trueMarkimg
$attach

__construct()

__construct(  $targetfile,   $cfg_thumb,   $cfg_watermarktext,   $photo_waterpos,   $photo_diaphaneity,   $photo_wheight,   $photo_wwidth,   $cfg_watermarktype,   $photo_marktrans,   $trueMarkimg,   $attach = array()) 

Parameters

$targetfile
$cfg_thumb
$cfg_watermarktext
$photo_waterpos
$photo_diaphaneity
$photo_wheight
$photo_wwidth
$cfg_watermarktype
$photo_marktrans
$trueMarkimg
$attach

thumb()

thumb(integer  $thumbwidth, integer  $thumbheight, integer  $preview) : void

生成缩略图

Parameters

integer $thumbwidth

图片宽度

integer $thumbheight

图片高度

integer $preview

是否预览

watermark()

watermark(integer  $preview) : void

图片水印

Parameters

integer $preview

是否预览

thumb_gd()

thumb_gd(integer  $thumbwidth, integer  $thumbheight, integer  $preview) : void

使用gd生成缩略图

Parameters

integer $thumbwidth

图片宽度

integer $thumbheight

图片高度

integer $preview

是否预览

watermark_gd()

watermark_gd(integer  $preview) : void

使用gd进行水印

Parameters

integer $preview

是否预览