
25 Oct
2005
25 Oct
'05
6:15 p.m.
Roel Schroeven wrote:
The script states it only works for png and jpg, but from reading it I have the impression that the only thing needed to make it work for other image formats is to add detection for their magic numbers. Is that correct? If so, I can easily add support for bmp (my coworkers often use that format).
Well, kinda. The SVG spec only requires JPGs and PNGs to be read from a document. It is likely that the resulting SVG won't be visible in some implementations. I think that Inkscape will still show them though.
http://www.w3.org/TR/SVG/struct.html#ImageElement
--Ted