Modify

Opened 5 years ago

Last modified 5 years ago

#10358 assigned defect

Resolution of image after convert is horrid

Reported by: anonymous Owned by: ursaw
Priority: low Component: PdfImagePlugin
Severity: minor Keywords:
Cc: Trac Release: 0.12

Description

The resulting png file produced is of very low quality. I recommend a modification adding -density 300 or a configurable density before input pdf path & name. The default convert uses produces a very ugly and almost illegible png.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by ursaw

Priority: highlow
Severity: majorminor
Status: newassigned

The Dimension of teh resulting PNG is set bei the Plugin option "width". This option gives you the width of the image in pixel. The idea is to have small thumbs only as a preview.

I have no idea how to combine density with resize, this gives no effect for me:

convert "/opt/tracenv/attachments/ticket/1/ref_t1133BemInductionFactors.gp.pdf"[0] -density 600 -resize 400  PNG:"/opt/tracenv/htdocs/pfdimg-images/ba7e3fb30321c5ed8ef8ab66685a3ce4a5e4da094ac6dfbff01194a8.png"

After setting your loglevel to debug, you'll get an output like this.

Can you please tell me how to combine these parameters to see an affect?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain ursaw.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.