summaryrefslogtreecommitdiff
path: root/Styles-generator.php
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2010-09-30 17:18:43 +0200
committerHugues Hiegel <hugues@hiegel.fr>2010-09-30 17:45:38 +0200
commit888004b32f7fe28e519b637ae2b1c3b7922023c2 (patch)
treebc54741a2341a5950c8c0a2ed29abef7185aaea3 /Styles-generator.php
parent640bd97d12d7f102dbfde197abca3126074d7ed3 (diff)
Lot of cleanup.
Diffstat (limited to 'Styles-generator.php')
-rw-r--r--Styles-generator.php22
1 files changed, 0 insertions, 22 deletions
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 @@
-<?
-
-include("Config.BigLine.php");
-
-define(WIDTH, 100);
-define(HEIGHT, 50);
-
-foreach ($Styles as $style => $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");
-}
-
-?>