Until now, I've been using bitmap images (png, jpg) to display Latex images in my html when viewing in a browser. The images are sometimes inline with text and otherwise images centered in a section with whitespace on both sizes. I first convert tex to dvi, then dvi to png using imageMagick. This works fine.
Now I want to create PDFs from my html using Prince and need clear, sharp images from my Latex. So, two issues come to mind:
1) How can I realiably size my high resolution (say 300dpi) bitmap (black and white) to print at a reasonable size? Is it as simple as finding the resolution of my images and setting the image-resolution property?
2) Would it be possible to use EPS or some other vector format in order to avoid large bitmap files and at the same time maintain clean, sharp images? I can programatically provide the image size, and therefore could adjust each image to with a custom resolution if necessary. I'm hoping for a cleaner solution though.
Note: I don't think SVG would work: a) imagemagick does not have a realiable conversion from dvi to svg and b) svg might not be easily configured to print properly.
Any ideas welcome. -John
Now I want to create PDFs from my html using Prince and need clear, sharp images from my Latex. So, two issues come to mind:
1) How can I realiably size my high resolution (say 300dpi) bitmap (black and white) to print at a reasonable size? Is it as simple as finding the resolution of my images and setting the image-resolution property?
2) Would it be possible to use EPS or some other vector format in order to avoid large bitmap files and at the same time maintain clean, sharp images? I can programatically provide the image size, and therefore could adjust each image to with a custom resolution if necessary. I'm hoping for a cleaner solution though.
Note: I don't think SVG would work: a) imagemagick does not have a realiable conversion from dvi to svg and b) svg might not be easily configured to print properly.
Any ideas welcome. -John
John Clarke
Cornerstone Systems Northwest Inc.