Support for resizing gifs using gifsicle with resizing the rest using ImageMagick
This commit is contained in:
@@ -408,11 +408,16 @@
|
||||
$config['thumb_keep_animation_frames'] = 1;
|
||||
|
||||
// Thumbnailing method:
|
||||
// - 'gd' PHP GD (default). Only handles the most basic image formats (GIF, JPEG, PNG). This is a prerequisite
|
||||
// for Tinyboard no matter what method you choose.
|
||||
// - 'imagick' PHP's ImageMagick bindings. Fast and efficient, supporting many image formats. A few minor bugs.
|
||||
// http://pecl.php.net/package/imagick
|
||||
// - 'convert' The command line version of ImageMagick (`convert`). Fixes most of the bugs in PHP Imagick.
|
||||
// - 'gd' PHP GD (default). Only handles the most basic image formats (GIF, JPEG, PNG).
|
||||
// This is a prerequisite for Tinyboard no matter what method you choose.
|
||||
// - 'imagick' PHP's ImageMagick bindings. Fast and efficient, supporting many image formats.
|
||||
// A few minor bugs. http://pecl.php.net/package/imagick
|
||||
// - 'convert' The command line version of ImageMagick (`convert`). Fixes most of the bugs in
|
||||
// PHP Imagick.
|
||||
// - 'convert+gifsicle' Same as above, with the exception of using `gifsicle` (command line application)
|
||||
// instead of `convert` for resizing gifs. It's faster and resulting animated gifs
|
||||
// have less artifacts than if resized with ImageMagick.
|
||||
|
||||
$config['thumb_method'] = 'gd';
|
||||
|
||||
// Regular expression to check for IE MIME type detection XSS exploit. To disable, comment the line out
|
||||
|
Reference in New Issue
Block a user