groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Inserting/importing jpeg photos into groff text?


From: Larry Kollar
Subject: Re: [Groff] Inserting/importing jpeg photos into groff text?
Date: Tue, 28 Mar 2006 08:21:47 -0500

Clarke Echols wrote:

I need to place a jpeg photo inside a groff document.  I am running
cygwin on Windows 98, and there is no indication that the convert
utility is available in the Cygwin packages; at least none that I
can find...

Is there an easy way to get jpeg photos into a groff document that
I have overlooked?

You can use netpbm; it's in Cygwin. The pipeline to make your
conversion is:

        jpegtopnm foo.jpg | pnmtops > foo.eps

This actually produces EPSF, which I think groff has no problem with.

If you prefer the convert utility, their page - http:// imagemagick.org/ -
links to a binary that should work for you.

Hope that helps!

--
Larry Kollar     k  o  l  l  a  r  @  a  l  l  t  e  l  .  n  e  t
Unix Text Processing: "UTP Revival"
http://unixtext.org/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]