Quote:>If you want a vector output, why don't you produce it in the first place?
>Drawing lines and such things first, then capture them -- I assume you
>use xwd or some such -- just to reconvert the pixels to lines seems a bit
>to contrived for me. If all you want to do is drawing squares, lines, and
>circles, eps-output should be simple.
In most cases, I do not have a choice. For example, a graph/chart scanned
using a scanner will produce a bitmap file, or in some other occasion someone
gave me a flow chart diagram or circuit drawing diagram but only they were
in bmp file format. Under all these circumstances, I do not have a choice
'cos I did not produce these images. In order to scale these diagrams/charts
to the desired size and with minimal distortion, it's best to convert them
to vectors first. Coming back to the example I gave in my original post,
my prog displays some animation on the screen (a simulation prog). I use
xv to capture a particular instant and store it as a gif. I later want to
include it in my*file (with some scaling). I suppose I can go away
and learn about postscript, and then rewrite my program so that it can
produce eps. But I was hoping there is a less-effort solution :)
Quote:>What you are looking for is difficult to implement -- at least if you want it
>to work in more than just the most simple cases. That's probably the reason why
>you can't find an appropriate program.
In theory, CorelTrace (utility from CorelDraw) suppose to do this exactly.
It traces the outline of the obj, and display/store it as a vector obj.
However, in practice, the algorithm they use is not that stable and
occasionally produce an image unrecognisable from the orginal.
Matthew