Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase image quality from dvipng without increasing image size?

Tags:

For dvipng, the -D option increases the dpi of the image but also increases the image size, and the -Q option improves antialiasing but doesn't do enough. Is there a way to increase the image resolution and quality without increasing image size?

like image 526
Heinrich Schmetterling Avatar asked Jan 22 '10 03:01

Heinrich Schmetterling


1 Answers

I would suggest that you use -D and -Q, and then post-process the generated image using imagemagick's mogrify or something similar to scale the image back. The external program will probably do a better job at doing good scaling.

like image 62
Alok Singhal Avatar answered Dec 05 '22 07:12

Alok Singhal