Project

General

Profile

Actions

Feature #72872

open

Change default rendering for pdf thumbnails to png

Added by Fabian Thommen over 8 years ago. Updated about 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Start date:
2016-01-21
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
pdf, convert, jpg, png
Complexity:
medium
Sprint Focus:

Description

Now if you have [GFX][thumbnails_png] = 0, the default value, pdf thumbnails are converted to gif.

If you set it to [GFX][thumbnails_png] = 1, pdf thumbnails are converted to png.

PDF used as images on FE are renderd via this chain, resulting in 256 color gifs on a page.

Add new config value for pdf2img conversion, like this:

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

default should be jpg.

Actions

Also available in: Atom PDF