From 888004b32f7fe28e519b637ae2b1c3b7922023c2 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 30 Sep 2010 17:18:43 +0200 Subject: Lot of cleanup. --- Styles-generator.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 Styles-generator.php (limited to 'Styles-generator.php') diff --git a/Styles-generator.php b/Styles-generator.php deleted file mode 100644 index 0cc5181..0000000 --- a/Styles-generator.php +++ /dev/null @@ -1,22 +0,0 @@ - $font) -{ - $img=imagecreatetruecolor(WIDTH, HEIGHT); - imagealphablending($img, FALSE); - imagesavealpha($img, TRUE); - - $transparent=imagecolorallocatealpha($img, 255, 255, 255, 127); - $black=imagecolorallocatealpha($img, 0, 0, 0, 0); - - imagefilledrectangle($img, 0, 0, WIDTH, HEIGHT, $transparent); - imagettftext($img, 30, 3, 0, HEIGHT * 80/100 , $black, "".$font, $style); - imagepng($img, "styles/$style.png"); -} - -?> -- cgit v1.2.3