> > Is there an easy way to get jpeg photos into a groff document that
> > I have overlooked?
>
> If you have access to a Mac, Graphic Converter (included in the
> system) is a good solution to convert jpeg to eps as an ascii-hex
> image file.  [...]

Get the netpbm suite of graphic tools!  This is a bunch of small
filter programs which allows you to do virtually anything with
graphics and any graphic format.  Conversion from JPEG to EPS is done
as follows:

  cat foo.jpeg | jpegtopnm | pnmtops > foo.eps

Both jpegtopnm and pnmtops have options to control the conversion
process.  Note that some crippled shells (like on Windows) don't allow
such piping; you have to use temporary files instead:

  jpegtopnm < foo.jpeg > foo.pnm
  pnmtops < foo.pnm > foo.eps

I'm quite sure that there are precompiled binaries of netpbm for your
favourite platform available in the internet.  Since netpbm tools are
working on the command line, no GUI issues can arise.


    Werner


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to