Hi,

On Thu, 24 Jan 2002, bcr wrote:
> gimp will take a screenshot for you.  you can then save it using gimp to
> anything you want, jpg, gif, etc

That's really a 'windows' attitude ;) Launching a multi-megabytes complex
program for a very simple task that can be done with two command lines.

> > I need to convert PNG files to EPS so I can include them in a LyX
> > document. I've tried using "convert" and it works, but the output looks
> > pretty bad on GV. Is that a "convert" problem or do all PNG -> EPS
> > conversions look bad?

How does it print ? (Sometimes colors images looks poor in gv but print
well). Have a look on 'convert' options too.

Anyway, dont expect too much. Printing is 300-600 dpi when screens are
around 72. You can help by reducing the size of the printed image while
retaining the number of pixels (so use bigger fonts and bigger
decorations for your original images if you can).

> > What I'm doing is documenting a program, so I'm including screenshots. I
> > used KSnapshot to capture the graphics and that saves the files in PNG
> > format. If there's a better way to do this, please let me know.

You can use xwd (man xwd), that will export in it's format that convert
knows about.
Those 2 lines (could be adapted in a single shell script) could help:
$ xwd -out image.xwd
$ convert image.xwd image.eps2

Rendering may be better in PS level 2 and for sure the file size will be
reduced. Of course your printer has to be able to deal with (but I guess
that if it's less that 5 years old, it should).

Hope it helps,

        Yannick






Reply via email to