Feature #72871

Change default value [GFX][thumbnails_png] = 1 for render pdf as png on frontend per default.

Added by Fabian Thommen almost 6 years ago. Updated almost 6 years ago.

Could have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
jpg, png, gif, thumbnails_png, thumbnails
Sprint Focus:


Now the default value is [GFX][thumbnails_png] = 0. So thumbnails are renderd to gif, having only 256 colors. Makes this still sense in 2016?

For PDF thumbnails this setting is also used, resulting in a gif having only 256 colors. This setting is used for the FE too, if someone is using a pdf in an image field, resulting in a 256 colors gif showing up.


Change default value to 1. ([GFX][thumbnails_png] = 1)

Or keep this as its now, and add new config value for pdf2img conversion, what about:

[GFX][pdfimgformat] = 'jpg'
[GFX][pdfimgformat] = 'png'
[GFX][pdfimgformat] = 'gif'


Updated by Benni Mack almost 6 years ago

Please note. if you keep $GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails_png'] = 0 then pngs will stay pngs, and jpgs will stay jpgs, and gifs will stay gifs.


Updated by Fabian Thommen almost 6 years ago

Ok, close this. I mixed two tings. Close this, I make a new issue for a request to render pdf to png, and not to gif per default.


Updated by Wouter Wolters almost 6 years ago

  • Status changed from New to Closed

Closed as requested.

Also available in: Atom PDF