On 7/4/06, Erik Dahlström <[EMAIL PROTECTED]> wrote: > > > > On Tue, 04 Jul 2006 14:51:50 +0200, arnorro <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I want to integrate binary images (mainly PNG) into a SVG document. > > > > The library I write generates SVG images which will be used in web > > environments. I need to know several things about the images (like > > size and format) before I am able to put them into the SVG, therefore > > I need a local path as input from the user. If I link the images in a > > web environment I would need an absolute path from the docroot (or the > > same relative path in both cases, but I can't enforce this). The > > library generates other output formats, so that I can't enforce > > special configuration options like a webpath for images for SVG. Or > > more exact: > > I do not want to do this ;) . > > > > So I am looking for a way to really integrate the binary data in the > > SVG. I imagine something like a CDATA section which I link in the > > image element. To make it even worse, this solution should work with > > Gecko, Adobe SVG viewer and Opera. > > > > I was not able to find something like this ia Google, or by looking at > > the RFC. The RFC only mentiones paths for the image element. > > > > Best regards, > > Kore > > Is sounds like it's the data URI scheme you're looking for? > An example: > > http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-struct-image-04-t.html > > For more information on data URI:s see here for example: > http://en.wikipedia.org/wiki/Data_Uri > > Regards > /Erik
Just to make life easier Data URI work on FF, Opera. IE does not ship one > but you and build you one I have tried on IE 5,6 supposingly it should work > on 7. here is the link of the one for IE http://www.codeproject.com/internet/DataProtocol.asp it's simple. Best luck. Phi -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > > > > > > ----- > To unsubscribe send a message to: > [EMAIL PROTECTED] > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit my > membership" > ---- > Yahoo! Groups Links > > > > > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

