[svg-developers] Re: images in SVG

2006-07-04 Thread Martin Honnen
--- In svg-developers@yahoogroups.com, arnorro [EMAIL PROTECTED] wrote:

 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.

All three support data: URLs as in this example:
http://home.arcor.de/martin.honnen/svg/test2006070401.svg

See the data: URL specification here
http://tools.ietf.org/html/2397
but also note that the small image I have included in the example is
judged there as The embedded image is probably near the limit of
utility. For anything else larger, data URLs are likely to be
inappropriate.






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





Re: [svg-developers] Re: images in SVG

2006-07-04 Thread Phi Tran
On 7/4/06, Martin Honnen [EMAIL PROTECTED] wrote:

   --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com,
 arnorro [EMAIL PROTECTED] wrote:

  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.

 All three support data: URLs as in this example:
 http://home.arcor.de/martin.honnen/svg/test2006070401.svg

 See the data: URL specification here
 http://tools.ietf.org/html/2397
 but also note that the small image I have included in the example is
 judged there as The embedded image is probably near the limit of
 utility. For anything else larger, data URLs are likely to be
 inappropriate.


If some how you can do  avariable such as
var a=data: image/png;base64;...
then
assign this variable to a URL
or
you can assign its url to a function.

I have tried on FF an Opera with more than 640,000 bytes in length  and it
works.
for IE I have tried on 128Kb it works too (at certain cases) but it need
some twicks.

Messages in this topic
 http://us.lrd.yahoo.com/_ylc=X3oDMTM2aHVzZzViBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BG1zZ0lkAzU2MjI1BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTE1MjAyMzgzNAR0cGNJZAM1NjIyMw--;_ylg=1/SIG=11v5fe8ch/**http%3a//groups.yahoo.com/group/svg-developers/message/56223(
 2)  Reply (via web post)
 http://us.lrd.yahoo.com/_ylc=X3oDMTJxYmtzbDI2BF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BG1zZ0lkAzU2MjI1BHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTE1MjAyMzgzNA--;_ylg=1/SIG=12lopleae/**http%3a//groups.yahoo.com/group/svg-developers/post%3fact=reply%26messageNum=56225|
  Start
 a new topic
 http://us.lrd.yahoo.com/_ylc=X3oDMTJlNTc5N3F1BF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTE1MjAyMzgzNA--;_ylg=1/SIG=11ma099vf/**http%3a//groups.yahoo.com/group/svg-developers/post
  
 Messageshttp://us.lrd.yahoo.com/_ylc=X3oDMTJlOG1vazJwBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTE1MjAyMzgzNA--;_ylg=1/SIG=11qk2lbuv/**http%3a//groups.yahoo.com/group/svg-developers/messages|
 Fileshttp://us.lrd.yahoo.com/_ylc=X3oDMTJmcThvb2NqBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA2ZpbGVzBHN0aW1lAzExNTIwMjM4MzQ-;_ylg=1/SIG=11n74ej2h/**http%3a//groups.yahoo.com/group/svg-developers/files|
 Photoshttp://us.lrd.yahoo.com/_ylc=X3oDMTJlNW9sZTFlBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA3Bob3QEc3RpbWUDMTE1MjAyMzgzNA--;_ylg=1/SIG=11ogglg0s/**http%3a//groups.yahoo.com/group/svg-developers/photos|
 Pollshttp://us.lrd.yahoo.com/_ylc=X3oDMTJmdmg5ZjM3BF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA3BvbGxzBHN0aW1lAzExNTIwMjM4MzQ-;_ylg=1/SIG=11nfpag95/**http%3a//groups.yahoo.com/group/svg-developers/polls|
 Calendarhttp://us.lrd.yahoo.com/_ylc=X3oDMTJkdTNlNDc0BF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA2NhbARzdGltZQMxMTUyMDIzODM0;_ylg=1/SIG=11qif1tkc/**http%3a//groups.yahoo.com/group/svg-developers/calendar
  -
 To unsubscribe send a message to:
 [EMAIL PROTECTED]
 -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit my
 membership
 
  [image: Yahoo! 
 Groups]http://us.lrd.yahoo.com/_ylc=X3oDMTJkN2RxM2xjBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMTUyMDIzODM0;_ylg=1/SIG=10skg51ah/**http%3a//groups.yahoo.comYou
  are receiving Individual Emails Change
 Delivery Settings
 http://us.lrd.yahoo.com/_ylc=X3oDMTJmamM4bmRvBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzExNTIwMjM4MzQ-;_ylg=1/SIG=11m1m63rc/**http%3a//groups.yahoo.com/group/svg-developers/join
  Visit Your Group
 http://us.lrd.yahoo.com/_ylc=X3oDMTJkdm9vbmhnBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMTUyMDIzODM0;_ylg=1/SIG=11hnfu9rs/**http%3a//groups.yahoo.com/group/svg-developers|
  Yahoo!
 Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
 [EMAIL PROTECTED]
   New Message Search

 Find the message you want faster. Visit your group to try out the improved
 message search.

 http://

 Share feedback on the new changes to 
 Groupshttp://us.lrd.yahoo.com/_ylc=X3oDMTJtZ2trNjgzBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA25jbW9kBHNsawNmZGJjawRzdGltZQMxMTUyMDIzODM0;_ylg=1/SIG=11im36rmb/**http%3a//surveylink.yahoo.com/wix/p1412899.aspx
   Recent Activity

-  21
New 
 Membershttp://us.lrd.yahoo.com/_ylc=X3oDMTJmMGN1ZjRlBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzExNTIwMjM4MzQ-;_ylg=1/SIG=11pn6kb53/**http%3a//groups.yahoo.com/group/svg-developers/members

  Visit Your Group