This commit is contained in:
Savetheinternet 2010-11-04 01:55:52 +11:00
parent 200d8d9cf5
commit 1e20121224
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@
define('REDRAW_IMAGE', true);
// Redrawing configuration
define('JPEG_QUALITY', 100);
define('REDRAW_GIF', false);
define('DIR_IMG', 'src/');

View File

@ -142,7 +142,8 @@
imagepng($image, $post['file'], 7);
break;
case 'gif':
imagegif($image, $post['file']);
if(REDRAW_GIF)
imagegif($image, $post['file']);
break;
case 'bmp':
imagebmp($image, $post['file']);