DJ Mike's Tutorials: PHP

Imagick Functions

^

Imagick::transverseImage

Description:
bool Imagick::transverseImage ( void )

Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.
Return Values
Returns TRUE on success.

Example


<?php 
$image 
= new imagick"opossum.jpg" ); 
$image->setimagebackgroundcolor("#fad888"); 
$image->transverseImage(); 
header"Content-Type: image/jpeg" ); 
echo 
$image;
?>


^


Was this webpage useful to you? You can support this website by donating.


Created by DJ Mike from Santa Barbara

DJ Mike


<a href="http://www.statcounter.com/" target="_blank"> <img src="http://c5.statcounter.com/counter.php?sc_project=1321035&java=0&security=da2193dc" alt="counter free hit invisible" border="0" /></a>