diff options
Diffstat (limited to 'images/rotate.php')
-rw-r--r-- | images/rotate.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/images/rotate.php b/images/rotate.php deleted file mode 100644 index ae0df87..0000000 --- a/images/rotate.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php
-// File and rotation
-$filename = 'OverlayStart50.png';
-
-$degrees = $_GET['r'] * 90;
-//$degrees = 180;
-
-// Content type
-header('Content-type: image/jpeg');
-
-// Load
-$source = imagecreatefrompng($filename);
-
-// Rotate
-$rotate = imagerotate($source, $degrees, 0);
-
-// Output
-imagepng($rotate);
-
-?>
\ No newline at end of file |