diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-03 23:37:28 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-03 23:37:28 +1100 |
| commit | bb1abb85e1dd089497b6a852c5b95e89c211b6d8 (patch) | |
| tree | 59c58cf3922f8f2aad317a57a520ec5b69d5a1a8 /inc/config.php | |
| parent | f864d5df16fc6730250c1d35133f11cbd8c6a83d (diff) | |
Ability to strip excess data (commonly ZIP archives) from images.
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index b0c4adc7..31009bab 100644 --- a/inc/config.php +++ b/inc/config.php @@ -53,6 +53,15 @@ define('MAX_WIDTH', 10000); define('MAX_HEIGHT', MAX_WIDTH); + /** + Redraw the image using GD functions to strip any excess data (commonly ZIP archives) + WARNING: Very beta. Currently strips animated GIFs too :( + **/ + define('REDRAW_IMAGE', true); + // Redrawing configuration + define('JPEG_QUALITY', 100); + + define('DIR_IMG', 'src/'); define('DIR_THUMB', 'thumb/'); define('DIR_RES', 'res/'); |
