Hi, I'm new to pic/groff and I've been having some problems
producing either gif or jpeg images using them.
Try pic2graph.
Werner
___
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff
David Griffiths wrote:
Hi, I'm new to pic/groff and I've been having some problems
producing either gif or jpeg images using them.
Anyway I started out following some instructions here: http://
www.spinellis.gr/sw/umlgraph/doc/faq.html#antialias but the
resulting command was very
Hi, create a file foo.pic containing just one line:
box hello world
process like this:
pic2graph -format jpg -density 90 foo.pic foo.jpg
if you put foo.jpg into a web page you can see that there is a load
of blank space below the box.
This was using groff version 1.19.1 and
By the way, another weird little quirk which doesn't seem to be
mentioned in my admittedly brief read of the documentation: if your
diagram goes beyond the default width as understood by pic then it
starts scaling the image automatically! It's really baffling when it
first happens - you make
By the way, another weird little quirk which doesn't seem to be
mentioned in my admittedly brief read of the documentation: if your
diagram goes beyond the default width as understood by pic then it
starts scaling the image automatically! It's really baffling when it
first happens - you make
Hi, create a file foo.pic containing just one line:
box hello world
process like this:
pic2graph -format jpg -density 90 foo.pic foo.jpg
if you put foo.jpg into a web page you can see that there is a load of
blank space below the box.
This was using groff version 1.19.1 and convert version
Hi, yes, that seems to work well (once I'd downloaded the groff-1.19.1
version of pic2graph, the one that comes with cygwin is buggy). Just one
thing: it (ie convert) antialiases everything including the solid lines.
If I turn off antialiasing it turns it off for the text too. Any
suggestions?
Hmmm, what I didn't notice was that this time the _bottom_ of the image
wasn't getting cropped! So I gave up on pic2graph and just used this:
groff -p -P-pletter file.pic | convert -trim -density 90 - file.jpg
Cheers,
Dave
David Griffiths wrote:
Hi, yes, that seems to work well (once I'd
Hi Dave,
Ah, using pnmraw instead of pnm makes everything 2-3 times faster!
Yes, the textual netpbm formats are handy but processing of large images
is quicker if the binary file format is used most of the time.
That brings the pnm approach down to only twice the time of my final
direct to
Hmmm, what I didn't notice was that this time the _bottom_ of the
image wasn't getting cropped!
This seems to be a bug. Please send me an example file together with
the exact command line.
Werner
___
Groff mailing list
Groff@gnu.org
I've never found a good way to script this. The process I use is to
open the postscript file with gimp, crop and save. It would be very
pleasant to have a way to quickly generate high quality cropped
images from groff. If anyone knows how to do that I'd like to
know too.
On Wed, May 11,
Hi Larry,
I've never found a good way to script this. The process I use is to
open the postscript file with gimp, crop and save. It would be very
pleasant to have a way to quickly generate high quality cropped images
from groff. If anyone knows how to do that I'd like to know too.
For
Ah, using pnmraw instead of pnm makes everything 2-3 times faster!
That brings the pnm approach down to only twice the time of my final
direct to jpeg approach which I guess I can live with. I know it's nice
and flexi but it still seems overkill passing round these raw bitmaps
from command to
David Griffiths wrote:
Hi, I'm new to pic/groff and I've been having some problems producing
either gif or jpeg images using them. The basic problem seems to be that
pic/groff/postscript all have the concept of a page that they are
drawing on whereas I want the resulting image to have all the
On 11-May-05 David Griffiths wrote:
Hi, I'm new to pic/groff and I've been having some problems
producing either gif or jpeg images using them. The basic
problem seems to be that pic/groff/postscript all have the
concept of a page that they are drawing on whereas I want the
resulting image to
Hi, I'm new to pic/groff and I've been having some problems
producing either gif or jpeg images using them. The basic problem
seems to be that pic/groff/postscript all have the concept of a page
that they are drawing on whereas I want the resulting image to have
all the whitespace cropped
16 matches
Mail list logo