Actions
Feature #72871
closedChange default value [GFX][thumbnails_png] = 1 for render pdf as png on frontend per default.
Start date:
2016-01-21
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
jpg, png, gif, thumbnails_png, thumbnails
Complexity:
medium
Sprint Focus:
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'
Actions