diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-06 12:58:53 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-06 12:58:53 -0700 |
| commit | dc0d344b4acb7a7d7d60628d5928163bf121ab1a (patch) | |
| tree | 60074ada8250bd1850031256400c8354287ad3fc /modules/gallery/helpers/graphics.php | |
| parent | 49505f28bb68e84b926d7907a33c7f814e78eb3c (diff) | |
Move the graphics::rotate to gallery_graphics::rotate to be consistent with the other gallery graphics functions.
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
| -rw-r--r-- | modules/gallery/helpers/graphics.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index ecddd86b..1063c073 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -193,28 +193,6 @@ class graphics_Core { } /** - * Rotate an image. Valid options are degrees - * - * @param string $input_file - * @param string $output_file - * @param array $options - */ - static function rotate($input_file, $output_file, $options) { - if (!self::$init) { - self::init_toolkit(); - } - - module::event("graphics_rotate", $input_file, $output_file, $options); - - Image::factory($input_file) - ->quality(module::get_var("gallery", "image_quality")) - ->rotate($options["degrees"]) - ->save($output_file); - - module::event("graphics_rotate_completed", $input_file, $output_file, $options); - } - - /** * Return a query result that locates all items with dirty images. * @return Database_Result Query result */ |
