EPS thumbnails are blurry

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
jaideep13
Posts: 1
Joined: 2019-10-11T13:47:50-07:00
Authentication code: 1152

EPS thumbnails are blurry

Post by jaideep13 » 2019-10-11T13:50:29-07:00

Use the following command to generate EPPS thumbnail and notice the thumbnails are blurry

convert -define jpeg:size=319x319 <path to EPS file> -thumbnail 319x319 cq5dam.thumbnail.319.319.png

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS thumbnails are blurry

Post by fmw42 » 2019-10-11T14:16:00-07:00

There is no -define jpeg:size. There is a -define jpeg:extent={size} where size is in kb. See https://imagemagick.org/Usage/formats/#jpg_write. Also add -density XX before reading the pdf to get better quality.

Code: Select all

convert -density 300 <path to EPS file> -thumbnail 319x319 -define jpeg:extent={size} cq5dam.thumbnail.319.319.png
Fill in your desired outfile file size in kb

Post Reply