despeckleimage($deg); } $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } # save settings $_SESSION[path] = $path; header("Location: display.php?"); exit; } ######### end despeckle include("top.php"); ?>

"> "; } ?>

Reduces the speckle noise in an image while perserving the edges of the original image.