Imagick::transverseImage

(PECL imagick 2.0.0)

Imagick::transverseImageCreates a horizontal mirror image

설명

bool Imagick::transverseImage ( void )

Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees. 이 메쏘드는 Imagick을 ImageMagick 6.2.9 이상으로 컴파일 했을 때만 사용할 수 있습니다.

반환값

성공시에 TRUE를 반환합니다.

참고

예제

Example #1 Imagick::transverseImage()

<?php
function transverseImage($imagePath) {
    
$imagick = new \Imagick(realpath($imagePath));
    
$imagick->transverseImage();
    
header("Content-Type: image/jpg");
    echo 
$imagick->getImageBlob();
}

?>

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top