Re: infrared beacon for pet door
- From: Jan Panteltje <pNaonStpealmtje@xxxxxxxxx>
- Date: Sat, 13 Dec 2008 14:23:48 GMT
I wrote:
Would almost think you could use a vactor descrition, like in characters in
a pdf document, to store outlines.
image to vector graphics?
Have to think about this some more, any suggestions welcome.
haha, was I right.
just a quick google found this open source program to convert bitmaps to vector graphics:
http://potrace.sourceforge.net/
I took the 'cat Template.jpg' from the 'flo' site, and did feed it through
convert Template.jpg Template.bmp
and then converted it to bitmap:
potrace -k .25 Template.bmp
The result:
ftp://panteltje.com/pub/Template.eps
The size is now only 1275 bytes.
Here we can do something.
You can download and look at that file with an encapsulated ps capable viewer, like ghostview:
gv Template.eps
potrace can make pdf too.
potrace -p -k .35 ./Template.bmp
And to make a pdf from it:
ps2pdf Template.ps
See it here:
ftp://panteltje.com/pub/Template.pdf
So for those without a ps and pdf viewer, lets make a gif:
convert Template.eps Template.gif
See the nice vector cat here:
ftp://panteltje.com/pub/Template.gif
So, now how to compare pdf to pictures......
At least I have the curves / vector grahics now :-)
PS. Sorry Windows users, 'time for change'.
LOL
.
- References:
- infrared beacon for pet door
- From: acannell
- Re: infrared beacon for pet door
- From: GregS
- Re: infrared beacon for pet door
- From: Jim Thompson
- Re: infrared beacon for pet door
- From: Joel Koltner
- Re: infrared beacon for pet door
- From: David Lesher
- Re: infrared beacon for pet door
- From: Stephen D. Barnes
- infrared beacon for pet door
- Prev by Date: Re: snow in... NEW ORLEANS!
- Next by Date: Catering to the parallel port.....
- Previous by thread: Re: infrared beacon for pet door
- Next by thread: Re: infrared beacon for pet door
- Index(es):
Relevant Pages
|