Gmagick 类

(PECL gmagick >= 未知)

简介

类概要

class Gmagick {
/* 方法 */
public __construct(string $filename = ?)
public addimage(Gmagick $source): Gmagick
public addnoiseimage(int $noise_type): Gmagick
public annotateimage(
    GmagickDraw $GmagickDraw,
    float $x,
    float $y,
    float $angle,
    string $text
): Gmagick
public blurimage(float $radius, float $sigma, int $channel = ?): Gmagick
public borderimage(GmagickPixel $color, int $width, int $height): Gmagick
public charcoalimage(float $radius, float $sigma): Gmagick
public chopimage(
    int $width,
    int $height,
    int $x,
    int $y
): Gmagick
public clear(): Gmagick
public commentimage(string $comment): Gmagick
public compositeimage(
    Gmagick $source,
    int $COMPOSE,
    int $x,
    int $y
): Gmagick
public cropimage(
     int $width,
     int $height,
    int $x,
    int $y
): Gmagick
public cropthumbnailimage(int $width, int $height): Gmagick
public current(): Gmagick
public cyclecolormapimage(int $displace): Gmagick
public destroy(): bool
public drawimage(GmagickDraw $GmagickDraw): Gmagick
public edgeimage(float $radius): Gmagick
public embossimage(float $radius, float $sigma): Gmagick
public flipimage(): Gmagick
public flopimage(): Gmagick
public frameimage(
    GmagickPixel $color,
    int $width,
    int $height,
    int $inner_bevel,
    int $outer_bevel
): Gmagick
public gammaimage(float $gamma): Gmagick
public getimagechanneldepth(int $channel_type): int
public getimagedelay(): int
public getimagedepth(): int
public getsize(): 数组
public getversion(): 数组
public implodeimage(浮点数 $radius): 混合
public labelimage(字符串 $label): 混合
public levelimage(
    浮点数 $blackPoint,
    浮点数 $gamma,
    浮点数 $whitePoint,
    整数 $channel = Gmagick::CHANNEL_DEFAULT
): 混合
public mapimage(gmagick $gmagick, 布尔值 $dither): Gmagick
public modulateimage(浮点数 $brightness, 浮点数 $saturation, 浮点数 $hue): Gmagick
public motionblurimage(浮点数 $radius, 浮点数 $sigma, 浮点数 $angle): Gmagick
public newimage(
    int $width,
    int $height,
    字符串 $background,
    字符串 $format = ?
): Gmagick
public normalizeimage(整数 $channel = ?): Gmagick
public oilpaintimage( 浮点数 $radius ): Gmagick
public profileimage(字符串 $name, 字符串 $profile): Gmagick
public quantizeimage(
    整数 $numColors,
    整数 $colorspace,
    整数 $treeDepth,
    布尔值 $dither,
    布尔值 $measureError
): Gmagick
public quantizeimages(
    整数 $numColors,
    整数 $colorspace,
    整数 $treeDepth,
    布尔值 $dither,
    布尔值 $measureError
): Gmagick
public queryfonts(字符串 $pattern = "*"): 数组
public queryformats(字符串 $pattern = "*"): 数组
public radialblurimage(float $angle, int $channel = Gmagick::CHANNEL_DEFAULT): Gmagick
public raiseimage(
    int $width,
    int $height,
    int $x,
    int $y,
    bool $raise
): Gmagick
public read(string $filename): Gmagick
public readimage(string $filename): Gmagick
public readimageblob(string $imageContents, string $filename = ?): Gmagick
public readimagefile(resource $fp, string $filename = ?): Gmagick
public reducenoiseimage(float $radius): Gmagick
public resampleimage(
    float $xResolution,
    float $yResolution,
    int $filter,
    float $blur
): Gmagick
public resizeimage(
    int $width,
    int $height,
    int $filter,
    float $blur,
    bool $fit = false
): Gmagick
public rollimage(int $x, int $y): Gmagick
public rotateimage(mixed $color, float $degrees): Gmagick
public scaleimage(int $width, int $height, bool $fit = false): Gmagick
public separateimagechannel(int $channel): Gmagick
public setfilename
public setimagechanneldepth(int $channel, int $depth): Gmagick
public setimagecolorspace(int $colorspace): Gmagick
public setimagecompose(int $composite): Gmagick
public setimagedelay(int $delay): Gmagick
public setimagedepth(int $depth): Gmagick
public setimagedispose(int $disposeType): Gmagick
public setimagefilename(string $filename): Gmagick
public setimageformat(string $imageFormat): Gmagick
public setimagegamma(float $gamma): Gmagick
public setimageindex(int $index): Gmagick
public setimageinterlacescheme(int $interlace): Gmagick
public setimageiterations(int $iterations): Gmagick
public setimageprofile(string $name, string $profile): Gmagick
public setimagerenderingintent(int $rendering_intent): Gmagick
public setimageresolution(float $xResolution, float $yResolution): Gmagick
public setimagescene(int $scene): Gmagick
public setimagetype(int $imgType): Gmagick
public setimageunits(int $resolution): Gmagick
public setsamplingfactors(array $factors): Gmagick
public setsize(int $columns, int $rows): Gmagick
public shearimage(mixed $color, float $xShear, float $yShear): Gmagick
public solarizeimage(int $threshold): Gmagick
public spreadimage(float $radius): Gmagick
public swirlimage(float $degrees): Gmagick
public thumbnailimage(int $width, int $height, bool $fit = false): Gmagick
public trimimage(float $fuzz): Gmagick
public writeimage(string $filename, bool $all_frames = false): Gmagick
}

目录

添加笔记

用户贡献笔记 1 笔记

robert at cesaric dot com
13 年前
getNumberImages() 并未在此处记录,但它可用。您可以查看 ImageMagick 文档以了解使用方法。
To Top