Re: image2svg - A class converting Images to standalone SVG
| From: | Markus Fischer | Date: | Tue, 30 Apr 2002 07:16:35 +0000 |
| Subject: | Re: image2svg - A class converting Images to standalone SVG | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5913@lists.php.net to get a copy of this message | ||
Hi,
The possibility of embedding binary images is making use of
effects like blending and shading with SVG (though I find a
class for the base64 encoding a but overkill, but I may miss
the obvious here).
- Markus
On Mon, Apr 29, 2002 at 08:41:40PM -0500, Brent Cook wrote :
> On Mon, 29 Apr 2002, Urs Gehrig wrote:
>
> > dear all
> >
> > image2svg - A class converting Images to standalone SVG
> > -------------------------------------------------------
> >
> > after seeking something similar on the net and not being satisfied with what
> > i found, i have written a class, that converts images [jpg, png and gif] to
> > standalon svg files.
> >
> > please have a look at the source files and an example on:
> >
> > http://www.circle.ch/php/
> >
> > i think the class would fit very good into pear, since there is a class to
> > convert svg to images as well, which would round up the whole thing.
> >
> > thanks for any feedback.
> >
> > best regards, urs
> >
>
> I tried this out, and while it seems to work (well, it generated
> something; I didn't get around to getting a SVG browser to view it with),
> could you explain why someone would want to convert a bitmap into this
> format?
>
> This seems to defeat the notions of "scalable" and "vector", unless it
> does edge detection and actually generates vectors ;) Since, according to
> the code, the SVG is 30% larger than the source image, it seems to only
> have drawbacks.
>
> Code's nice though!
>
> - Brent
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah...
none :)"