Page MenuHomePhabricator

PdfHandler should use -sharpen for creating JPG thumbnail previews
Open, Needs TriagePublic

Description

PdfHandler currently performs the ImageMagick call on its own using a very simple command line. As a result, for thumbnails of documents like this one, the output is blurrier than ideal for textual pdfs.

A nice start would be taking what T8193 does (code here) and adding a -sharpen when JPEG is requested.

Event Timeline

There is already a task about using PNG as output of PdfHandler T38597, so is this one specifically about -sharpen?

@Arthur2e5: Could you please answer the last comment? Thanks in advance!

Yes, make this task about -sharpen on JPEG then. Editing.

Aklapper renamed this task from PdfHandler can use some sharpening on the preview to PdfHandler should use -sharpen for creating JPG thumbnail previews.Nov 14 2020, 8:09 AM