(PECL imagick 2.0.0)
Imagick::transverseImage — Creates a horizontal mirror image
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();
}
?>