[Tugindia] Creating JPG/JPEG

David Kastrup tugindia@tug.org
22 Dec 2002 12:27:54 +0100


Kapil Hari Paranjape <kapil@imsc.res.in> writes:

> On Thu, Dec 19, 2002 at 10:54:38PM +0530, Dr. Dinesh Karia wrote:
> > Is ImageMagick a freeware? If yes, could you please provide the URL to
> > download it? If not, is anybody in the group aware of a path (though long)
> > using freeware(s) to convert the PDF/PS/EPS/DVI to JPEG/JPG/GIF/BMP/WMF ?
> 
> Yes. ImageMagick *is* "mukt" software.
>      http://www.imagemagick.org/
> (as might be guessed) is the URL.
> 
> On the other hand as David points out you may be better off using
> "preview" since the typical invocation of "dvips" produces output
> that is more appropriate for print (300/600 dpi) whereas for the
> screen you need the output to be at a smaller resolution (72/100 dpi)
> *and* anti-aliased.

Well, preview does nothing to change that, its manual just documents
with what options best to call dvips and GhostScript (dvips -Ppdf and
a lot of options to GhostScript).  The advantages with preview are
(apart from the documentation) that it can output closely cropped
images, and that you can produce, say, 100 closely cropped images
from a single run of LaTeX, dvips and GhostScript, with each image
having its own size.  It is also more correct than dvips -E in
figuring out bounding boxes, which is important if you use scaled or
rotated material, PStricks macros, psfrag and similar stuff.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum