coalesceImages(); $option = $_GET[option]; if ( ($option == "Transverse") ) { foreach ($image as $frame) { $frame->transverseImage(); } } if ( ($option == "Transpose") ) { foreach ($image as $frame) { $frame->transposeImage(); } } $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

Transverse
Creates a horizontal mirror image and rotates 270 degrees.
Transpose
Creates a horizontal mirror image and rotates 90 degrees.