Feature #72871
closedChange default value [GFX][thumbnails_png] = 1 for render pdf as png on frontend per default.
0%
Description
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.
Solutions:
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 9 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 9 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.