OilPaintimage($oilpaint); foreach ($image as $frame) { $frame->OilPaintimage($oilpaint); } $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[oilpaint] = $oilpaint; header("location:display.php"); exit; } ######### end Oil Paint include("top.php"); ?>
"> Level: ">

Description

Applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.