flipImage(); } } if ( ($option == "flop") || ($option == "flipflop")) { foreach ($image as $frame) { $frame->flopImage(); } } $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } $_SESSION[path] = $path; header("location:display.php"); exit; } include("top.php"); ?>

Description

Flip
Creates a vertical mirror image by reflecting the pixels around the central x-axis.
Flop
Creates a vertical mirror image by reflecting the pixels around the central y-axis.
Flopflop
Flip and flops the image.