tintImage($tint_color, $tint_opacity); } # make new path $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; # write image $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } # save settings $_SESSION[path] = $path; $_SESSION[tint_color] = $tint; $_SESSION[tint_opacity] = $tint; header("location:display.php"); exit; } ######### end tint include("top.php"); ?>
Tint Color: ">
Opacity ">


Tint Color can be a named color or hex. Opacity is a number.