update : 2015.11.03
php.shukuma.com검색:
|
Imagick::distortImage(PECL imagick 2.0.1) Imagick::distortImage — Distorts an image using various distortion methods 설명
bool Imagick::distortImage
( int
$method
, array $arguments
, bool $bestfit
)
Distorts an image using various distortion methods, by mapping color
lookups of the source image to a new destination image usually of the same
size as the source image, unless 'bestfit' is set to If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping. 이 메쏘드는 Imagick을 ImageMagick 6.3.6 이상으로 컴파일 했을 때만 사용할 수 있습니다. 인수
반환값
성공시에 오류/예외오류시에 ImagickException이 발생합니다. 예제
Example #1 Using Imagick::distortImage(): Distort an image and display to the browser.
<?php 위 예제의 출력 예시: 참고
|