summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2012-12-24 05:34:06 +0100
committerMarcin Łabanowski <marcin@6irc.net>2012-12-24 05:34:06 +0100
commit5cea5ca16e93a5867236e2af4d6ff6e89234a8a5 (patch)
treecb9aabb604488efb4bcfaede76a48a3a21fe9075 /inc/config.php
parentc1a737d4b4660f6c1c490b4e7099b0d90d682bf0 (diff)
Support for resizing gifs using gifsicle with resizing the rest using ImageMagick
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/inc/config.php b/inc/config.php
index 3fad8857..2137c91d 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -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