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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With