|
Êëàññ Imagick(Èíôîðìàöèÿ î âåðñèè íåèçâåñòíà, âîçìîæíî, òîëüêî â SVN) Îáçîð êëàññîâ
bool adaptiveBlurImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool adaptiveSharpenImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool annotateImage
( ImagickDraw $draw_settings
, float $x
, float $y
, float $angle
, string $text
)
bool compositeImage
( Imagick $composite_object
, int $composite
, int $x
, int $y
[, int $channel = Imagick::CHANNEL_ALL
] )
__construct
( mixed $files
)
bool contrastStretchImage
( float $black_point
, float $white_point
[, int $channel = Imagick::CHANNEL_ALL
] )
public array exportImagePixels
( int $x
, int $y
, int $width
, int $height
, string $map
, int $STORAGE
)
bool floodFillPaintImage
( mixed $fill
, float $fuzz
, mixed $target
, int $x
, int $y
, bool $invert
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool frameImage
( mixed $matte_color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
public bool functionImage
( int $function
, array $arguments
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
float getImageChannelDistortions
( Imagick $reference
, int $metric
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
public bool importImagePixels
( int $x
, int $y
, int $width
, int $height
, string $map
, int $storage
, array $pixels
)
bool levelImage
( float $blackPoint
, float $gamma
, float $whitePoint
[, int $channel = Imagick::CHANNEL_ALL
] )
Imagick montageImage
( ImagickDraw $draw
, string $tile_geometry
, string $thumbnail_geometry
, int $mode
, string $frame
)
bool motionBlurImage
( float $radius
, float $sigma
, float $angle
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool opaquePaintImage
( mixed $target
, mixed $fill
, float $fuzz
, bool $invert
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool paintFloodfillImage
( mixed $fill
, float $fuzz
, mixed $bordercolor
, int $x
, int $y
[, int $channel = Imagick::CHANNEL_ALL
] )
bool paintOpaqueImage
( mixed $target
, mixed $fill
, float $fuzz
[, int $channel = Imagick::CHANNEL_ALL
] )
bool quantizeImage
( int $numberColors
, int $colorspace
, int $treedepth
, bool $dither
, bool $measureError
)
bool quantizeImages
( int $numberColors
, int $colorspace
, int $treedepth
, bool $dither
, bool $measureError
)
bool resizeImage
( int $columns
, int $rows
, int $filter
, float $blur
[, bool $bestfit = false
] )
bool roundCorners
( float $x_rounding
, float $y_rounding
[, float $stroke_width = 10
[, float $displace = 5
[, float $size_correction = -6
]]] )
public bool segmentImage
( int $COLORSPACE
, float $cluster_threshold
, float $smooth_threshold
[, bool $verbose = false
] )
bool sigmoidalContrastImage
( bool $sharpen
, float $alpha
, float $beta
[, int $channel = Imagick::CHANNEL_ALL
] )
public bool sparseColorImage
( int $SPARSE_METHOD
, array $arguments
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool unsharpMaskImage
( float $radius
, float $sigma
, float $amount
, float $threshold
[, int $channel = Imagick::CHANNEL_ALL
] )
}Ìåòîäû èçîáðàæåíèÿ è ãëîáàëüíûå ìåòîäûÊëàññ Imagick èìååò âîçìîæíîñòü óäåðæèâàòü è îáðàáàòûâàòü íåñêîëüêî èçîáðàæåíèé îäíîâðåìåííî. Ýòî äîñòèãàåòñÿ çà ñ÷åò âíóòðåííåãî ñòåêà, â êîòîðîì ñóùåñòâóåò óêàçàòåëü, óêàçûâàþùèé íà òåêóùåå èçîáðàæåíèå. Íåêîòîðûå ôóíêöèè ðàáîòàþò ñî âñåìè èçîáðàæåíèÿìè â êëàññå Imagick, íî âñ¸-òàêè, áîëüøèíñòâî ðàáîòàåò òîëüêî ñ òåêóùèì èçîáðàæåíèåì âî âíóòðåííåì ñòåêå. Ïî ñîãëàøåíèþ, èìåíà ìåòîäîâ ìîãóò ñîäåðæàòü ñëîâî Image äëÿ îáîçíà÷åíèÿ òîãî, ÷òî îíè âëèÿþò òîëüêî íà òåêóùåå èçîáðàæåíèå â ñòåêå. Ìåòîäû êëàññàÇäåñü ïðèâåä¸í ñïèñîê íàèáîëåå èñïîëüçóåìûõ ìåòîäîâ, îáúåäèí¸ííûõ â ãðóïïû ïî íàçíà÷åíèþ: Ñîäåðæàíèå
|
|