diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-14 16:19:11 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-14 16:19:11 -0700 |
commit | eaa3fb3f863b4cec711fec01f09b38a1ab333eef (patch) | |
tree | cce29865f8b33da7571de154eeb3a7028e940ef1 /images/rotate.php | |
parent | f4691c84a4942b60c4cfb8f2845e63a3adde358e (diff) | |
download | pathery-eaa3fb3f863b4cec711fec01f09b38a1ab333eef.tar.xz |
Image rotation for emblems.
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 |