PHP Conference Japan 2024

Gmagick 類別

(PECL gmagick >= 未知)

簡介

類別概要

類別 Gmagick {
/* 方法 */
公開 __construct(字串 $filename = ?)
公開 addimage(Gmagick $source): Gmagick
公開 addnoiseimage(int $noise_type): Gmagick
公開 annotateimage(
    GmagickDraw $GmagickDraw,
    float $x,
    float $y,
    float $angle,
    string $text
): Gmagick
公開 blurimage(float $radius, float $sigma, int $channel = ?): Gmagick
公開 borderimage(GmagickPixel $color, int $width, int $height): Gmagick
公開 charcoalimage(float $radius, float $sigma): Gmagick
公開 chopimage(
    int $width,
    int $height,
    int $x,
    int $y
): Gmagick
公開 clear): Gmagick
公開 commentimage(string $comment): Gmagick
公開 compositeimage(
    Gmagick $source,
    int $COMPOSE,
    int $x,
    int $y
): Gmagick
公開 cropimage(
     int $width,
     int $height,
    int $x,
    int $y
): Gmagick
公開 cropthumbnailimage(int $width, int $height): Gmagick
公開 current(): Gmagick
公開 cyclecolormapimage(int $displace): Gmagick
公開 destroy(): bool
公開 drawimage(GmagickDraw $GmagickDraw): Gmagick
公開 edgeimage(float $radius): Gmagick
公開 embossimage(float $radius, float $sigma): Gmagick
公開 flipimage(): Gmagick
公開 flopimage(): Gmagick
公開 frameimage(
    GmagickPixel $color,
    int $width,
    int $height,
    int $inner_bevel,
    int $outer_bevel)
): Gmagick
公開 gammaimage(float $gamma): Gmagick
公開 getimagechanneldepth(整數 $channel_type): 整數
公開 內爆圖片(浮點數 $radius): 混合
公開 標記圖片(字串 $label): 混合
公開 調整圖片層級(
    浮點數 $blackPoint,
    浮點數 $gamma,
    浮點數 (float) $whitePoint,
    整數 (int) $channel = Gmagick::CHANNEL_DEFAULT
): 混合 (mixed)
公開 (public) 映射影像 (mapimage)(Gmagick $gmagick, 布林值 (bool) $dither): Gmagick
公開 (public) 新影像 (newimage)(
    int $width,
    int $height,
    字串 (string) $background,
    字串 (string) $format = ?
): Gmagick
公開 profileimage(字串 $name, 字串 $profile): Gmagick
公開 quantizeimage(
    整數 $numColors,
    整數 $colorspace,
    整數 $treeDepth,
    布林值 $dither,
    布林值 $measureError
): Gmagick
公開 quantizeimages(
    整數 $numColors,
    整數 $colorspace,
    整數 $treeDepth,
    布林值 $dither,
    布林值 $measureError
): Gmagick
公開 queryfonts(字串 $pattern = "*"): 陣列
公開 queryformats(字串 $pattern = "*"): 陣列
公開 radialblurimage(浮點數 $angle, 整數 $channel = Gmagick::CHANNEL_DEFAULT): Gmagick
公開 raiseimage(
    int $width,
    int $height,
    int $x,
    int $y,
    布林值 $raise
): Gmagick
公開 read(字串 $filename): Gmagick
公開 readimage(字串 $filename): Gmagick
公開 readimageblob(字串 $imageContents, 字串 $filename = ?): Gmagick
公開 readimagefile(資源 $fp, 字串 $filename = ?): Gmagick
公開 影像重新取樣(
    浮點數 $xResolution,
    浮點數 $yResolution,
    整數 $filter,
    浮點數 $blur
): Gmagick
公開 調整影像大小(
    int $width,
    int $height,
    整數 $filter,
    浮點數 $blur,
    布林值 $fit =
): Gmagick
公開 旋轉影像(混合 $color, 浮點數 $degrees): Gmagick
公開 縮放影像(整數 $width, 整數 $height, 布林值 $fit = ): Gmagick
公開 設定檔名(字串 $filename): Gmagick
公開 設定影像通道深度(整數 $channel, 整數 $depth): Gmagick
公開 設定影像檔名(字串 $filename): Gmagick
公開 設定影像格式(字串 $imageFormat): Gmagick
公開方法 setimageindex(整數 $index): Gmagick
公開方法 setimageinterlacescheme(整數 $interlace): Gmagick
公開方法 setimageiterations(整數 $iterations): Gmagick
公開方法 setimageprofile(字串 $name, 字串 $profile): Gmagick
公開方法 setimagerenderingintent(整數 $rendering_intent): Gmagick
公開方法 setimageresolution(浮點數 $xResolution, 浮點數 $yResolution): Gmagick
公開方法 setimagescene(整數 $scene): Gmagick
公開方法 setimagetype(整數 $imgType): Gmagick
公開方法 setimageunits(整數 $resolution): Gmagick
公開 setsize(整數 $columns, 整數 $rows): Gmagick
公開 shearimage(混合 $color, 浮點數 $xShear, 浮點數 $yShear): Gmagick
公開 solarizeimage(整數 $threshold): Gmagick
公開 spreadimage(浮點數 $radius): Gmagick
公開 swirlimage(浮點數 $degrees): Gmagick
公開 thumbnailimage(整數 $width, 整數 $height, 布林值 $fit = false): Gmagick
公開 trimimage(浮點數 $fuzz): Gmagick
公開 writeimage(字串 $filename, 布林值 $all_frames = false): Gmagick
}

目錄

新增註釋

使用者貢獻的註釋 1 則註釋

robert at cesaric dot com
13 年前
getNumberImages() 這裡沒有文件說明,但可以使用。您可以查看 ImageMagick 文件以了解用法。
To Top