Ticket #10358 (assigned defect)

Opened 8 months ago

Last modified 8 months ago

Resolution of image after convert is horrid

Reported by: anonymous Assigned to: ursaw (accepted)
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

Change History

09/28/12 08:40:56 changed by ursaw

  • status changed from new to assigned.
  • priority changed from high to low.
  • severity changed from major to minor.

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?


Add/Change #10358 (Resolution of image after convert is horrid)




Change Properties
Action