$ dot -Tjp2 input.dot
Output using the JPEG 2000 format.
JPEG's image compression can blur fine image details like text & lines, so consider using a lossless format (say, PNG or WebP) instead.