diff options
| author | Marcin Ćabanowski <marcin@6irc.net> | 2012-12-24 05:34:06 +0100 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 03:33:06 -0400 |
| commit | b7e725bf3e0394193dee9373c18dec7f727ea6ed (patch) | |
| tree | 0d17ef917f4c43bb5484edb5ea7aab1b193bc096 /inc/config.php | |
| parent | f9cdf31ede3bab1aff1ffa5a043bfd9a6eceb6d7 (diff) | |
Support for resizing gifs using gifsicle with resizing the rest using ImageMagick
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/inc/config.php b/inc/config.php index 36518028..863b9043 100644 --- a/inc/config.php +++ b/inc/config.php @@ -413,11 +413,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'; // Strip EXIF metadata from JPEG files |
