XP> Inline image data

XP> Inline image data

Jun Fujisawa fujisawa.jun at canon.co.jp
Fri Mar 8 02:11:37 EST 2002


The description of an alternate method to include inline image
by using 'declare' attribute of 'object' element has been added
to Appendix B of XHTML-Print 0.951 specification.

I don't think this particular method is the only "conditionally
mandatory" method to include inline image in XHTML-Print.
What's wrong with the following methods?

- 'object' element without 'declare' attribute
<object width="20 mm" height="20 mm" type="image/jpeg"
     data="data:image/jpeg;base64,aGh67Fghsapa0Hji7dfGSweTa..."

- 'img' element
<img width="20 mm" height="20 mm"
     src="data:image/jpeg;base64,aGh67Fghsapa0Hji7dfGSweTa..."

Also, I'd like to suggest to add a reference to RFC2397.

"RFC2397 - The "data" URL scheme", L. Masinter.
It is available from http://www.ietf.org/rfc/rfc2397.txt.
 

--
Jun Fujisawa
<mailto:fujisawa.jun at canon.co.jp>



More information about the Xp mailing list