Opened 5 years ago

# Resolution of image after convert is horrid

Reported by: Owned by: anonymous ursaw low PdfImagePlugin minor 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.

### comment:1 Changed 4 years ago by ursaw

Priority: high → low major → minor new → assigned

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