You can also use:
http://www.motobit.com/util/base64-decoder-encoder.asp
where you can import your image file then have it encoded into base64
format. THEN
append this "data:image/png;base64," in front. (for png) or
"data:image/tif;base64," for tif .. so on.  (all the comma and the
colum,semi-column should be exact)

Good luck.

Phi


On 4/27/06, John Coe <[EMAIL PROTECTED]> wrote:
>
> there was a sample of inline image on Adobe's page, it looks like they
> removed it, but I found a copy of it here:( this one is inside a html page)
>   http://www.dcs.shef.ac.uk/~davea/Library/images/SVGAbout.svg
>   here is a page with some documentation:
>   http://www.focusresearch.com/gw/?p=165
>
>   the one I have saved on my machine is pure svg, it looks like the image
> is stored and displayed in the style sheet like this:
>   <svg  width="505" height="366" viewBox="0 0 505 366"
>   xmlns:adobe="http://ns.adobe.com/AdobeSVGViewerExtensions/2.0/"; >
> <style type="text/css">
> <![CDATA[
> @font-face{font-family:'AdobeCorpID-MyriadPkg';src:url("data:;base64,\
>
> T1RUTwADACAAAQAQQ0ZGIIG/LWAAAAA8AAAd3EdQT1MFWIHmAAAeyAAADXBjbWFwQsH/+gAAHhgA\
>
> AACwAQAEAgABAQEWQWRvYmVDb3JwSUQtTXlyaWFkUGtnAAEBASD4GwH4FgRe+476XvnQBR0AAKYs\
>
> DfdbD/d9EdwcHYsSAAEBAX9Db3B5cmlnaHQgKGMpIDE5OTMsIDE5OTUgQWRvYmUgU3lzdGVtcyBJ\
>   ....
>
>   Is there some reason that an external image is better?
>   This looks pretty criptic and complex.
>
>
>
> Justin Clift <[EMAIL PROTECTED]> wrote:
>   -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I'm coding an Open Source GUI for creating eLearning (www.flameproject.org
> ).
>
> At the stage of writing the initial output side of things (animated SVG
> and Flash).
>
> Looking around for how to embed bitmap/image data inside an SVG, but
> can't seem to find it.
>
> _Can_ find info on how to reference an external image. i.e.
>
>   <image href="/some/external/path/image.gif" width="50" height="50" />
>
> But that seems very non-practical for my kind of application.
>
> Is it even possible to embed/inline bitmap data into an SVG?  I'm
> starting to think it's just not possible.  :(
>
> Regards and best wishes,
>
> Justin Clift
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEUQIjFAuZn5lS2IMRAt+AAKC3FqGXVs8MSrFeu8HMkHloHBX/QwCgzTIh
> SNvgCrprm0jKaIMl6jTjKS4=
> =JHwv
> -----END PGP SIGNATURE-----
>
>
>
>
> -----
> 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
>
>
>     Visit your group "svg-developers" on the web.
>
>     To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call
> rates.
>
> [Non-text portions of this message have been removed]
>
>
>
> -----
> 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]



-----
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/
 



Reply via email to