newPseudoImage( $x, $y, "pattern:$_GET[pattern]" ); $image->setImageFormat($_GET[pattern_format]); $image->setimageBackgroundColor("blue"); $path = "temp/$ID.$_SESSION[views].$_GET[pattern_format]"; $image->writeimage("$path"); $_SESSION[path] = $path; $_SESSION[pattern_x] = $x; $_SESSION[pattern_y] = $y; header("Location: display.php?url=$path"); exit; } include("top.php"); ?>

"> X ">

Create a new image with a pattern. Width anf height can be from 1 to 550.

"; } $pattern1 = array_shift($patterns); $pattern2 = array_shift($patterns); echo ""; ?>
<$img$pattern1\" class=\"sample\">
$pattern1
<$img$pattern2\" class=\"sample\">
$pattern2
<$img$pattern3\" class=\"sample\">
$pattern3
<$img$pattern2\" class=\"sample\">
$pattern2
<$img$pattern2\" class=\"sample\">
$pattern2