posterizeimage($posterize, FALSE); } } if ( $dither == 1 ) { foreach ($image as $frame) { $image->posterizeimage($posterize, TRUE); } } $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; $_SESSION[posterize] = $posterize; header("location:display.php"); exit; } ######### end Posterize include("top.php"); ?>
Level: ">
Dither? Y/ N