forked from leftypol/leftypol
Ability to strip excess data (commonly ZIP archives) from images.
This commit is contained in:
parent
f864d5df16
commit
bb1abb85e1
3 changed files with 124 additions and 10 deletions
|
@ -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/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue