Project

General

Profile

Actions

Feature #72871

closed

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

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

Status:
Closed
Priority:
Could have
Category:
-
Target version:
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 #1

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.

Actions #2

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.

Actions #3

Updated by Wouter Wolters almost 9 years ago

  • Status changed from New to Closed

Closed as requested.

Actions

Also available in: Atom PDF