rollimage( $psych_roll, $psych_roll); } foreach ($image as $frame) { $frame->clutimage($palette); } $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[psych_roll] = $psych_roll; header("Location: display.php"); exit; } #### end psychedelicize function #### include("top.php"); ?>
">


Roll: ">



Instructions
Click Psychedelicize. Enter an integer in Roll for different results.
Description:
Uses the Imagick method clutimage() and the rainbow bar above as a color lookup table to replace the palette of your image. Does not work with transparent GIF's
Parameters
Roll
Shifts the start position of the palette. If left empty, defaults to 0. Must be an integer. Non-integers are converted to integers.