[fptex] Resizing

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 23 Apr 2002 07:57:27 +0100 (BST)


On Mon, 22 Apr 2002, John Clarke wrote:

> I’m using Latex to make single equations. First I have the equation text in
> TEX format, convert it to DVI and then finally to PNG with Imagemagick.

Really?  ImageMagick's convert does not claim to read DVI.  Are you
perhaps going via postscript in there?  If not, I suggest you do as dvips
can resize for you:  use the -x or -y flags.  With latex, -x 1500 should
do what you want.  You may want to set the offset and dimensions too,
which dvips can also do.

> My problem is that the size is not big enough. I want to be able to resize
> the image to about 150% before it gets rasterized so that the quality is
> acceptable. Imagemagick can resize, but it seems to do it after the image is
> rasterizes which ends up making the image too pixelized.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595