bah,
capisco poco...

ma questa potrebbe fare al caso mio?

Here is a function to flip an image using imagecopy, just replace SRC_IMAGE and DEST_IMAGE with your own filename
(works only for jpg source image)

<?
define("MIRROR_HORIZONTAL", 1);
define("MIRROR_VERTICAL", 2);
define("MIRROR_BOTH", 3);

function Mirror($src, $dest, $type)
{
_ $imgsrc = imagecreatefromjpeg($src);
_ $width = imagesx($imgsrc);
_ $height = imagesy($imgsrc);
_ $imgdest = imagecreatetruecolor($width, $height);
_
_ for ($x=0 ; $x<$width ; $x++)
__ {
__ _ for ($y=0 ; $y<$height ; $y++)
__ {
__ _ if ($type == MIRROR_HORIZONTAL) imagecopy($imgdest, $imgsrc, $width-$x-1, $y, $x, $y, 1, 1);
__ _ if ($type == MIRROR_VERTICAL) imagecopy($imgdest, $imgsrc, $x, $height-$y-1, $x, $y, 1, 1);
__ _ if ($type == MIRROR_BOTH) imagecopy($imgdest, $imgsrc, $width-$x-1, $height-$y-1, $x, $y, 1, 1);
__ }
__ }
_
_ imagejpeg($imgdest, $dest);
_
_ imagedestroy($imgsrc);
_ imagedestroy($imgdest);
}

Mirror(SRC_IMAGE, DEST_IMAGE, MIRROR_HORIZONTAL);

print "[img]SRC_IMAGE[/img]";
print "

";
print "[img]DEST_IMAGE[/img]";
?>


Booooh