On Tue, Aug 26, 2003 at 09:10:16AM +1000, Angus Lees wrote:
> At Mon, 25 Aug 2003 17:41:14 +1000, Michael Lake wrote:
> > Bill Bennett wrote:
> > > I was going to use a .jpg file in a figure in a LaTeX document,
> > > on the grounds that an.eps file would be too big.
> > 
> > I don't have my cp of Goosens here to look up the graphics rule but it 
> > looks like you are wanting to use latex and generate postscript. An eps 
> > is not necessarily too big. Both convert and jpg2eps (which might even 
> > already be on your system as it comes with many teTeX distributions) 
> > just encapsulates the binary jpg and it wont be much bigger at all than 
> > the jpg. Then you wont need the graphics rule at all.
> 
> . also if you're aiming for postscript output, the jpg will have to
> be converted to postscript at some point in the process.
> 
> (iirc, PDF can embed a jpg directly so thats a different story)

pdflatex does this.  pdflatex can't do the jpegs straight out of
my camera for some reason.

jpeg2ps (debian woody/non-free)

DESCRIPTION
       jpeg2ps converts JPEG files to PostScript  Level  2  or  3
       EPS.  In  fact,  jpeg2ps  is  not really a converter but a
       "wrapper": it reads the image parameters  (width,  height,
       number  of  color  components)  in a JPEG file, writes the
       according EPS header and then copies the  compressed  JPEG
       data  to  the  output  file.  Decompression is done by the
       PostScript interpreter (only  PostScript  Level  2  and  3
       interpreters  support JPEG compression and decompression).

-- 
Woody
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to