XP> Inline image data

XP> Inline image data

GRANT,MELINDA (HP-Vancouver,ex1) melinda_grant at hp.com
Tue Mar 26 22:53:09 EST 2002


I don't see anything in the (HTML 4.01) specification that indicates to me
that support for the object element requires support for base64 encoding.

My takeaway from UPnP discussions was that we would require support for
application/vnd.pwg-multiplexed en lieu of requiring support for base64
(i.e., we would standardize one required method to ensure a job could be
transmitted as a single "pushed" data stream or file; others would be
optional).

I don't recall an XHTML-Print discussion where we agreed to require support
for base64; so my opinion is that it currently is not required, and that the
only required object data format is jpeg.

Do others have different memories or read the specs differently?  Would we
accrue any major benefits by adding the requirement that the printer be able
to decode base64 objects?  If so, which base64 objects?

Melinda

-----Original Message-----
From: don at lexmark.com [mailto:don at lexmark.com]
Sent: Friday, March 08, 2002 7:13 AM
To: Jun Fujisawa
Cc: PWG XHTML-Print
Subject: Re: XP> Inline image data




Jun, et al:

I have no problem including other ways to include in-line image data using
the
object and/or img elements.  The issue the group needs to decide on is what
is
the compliance answer?   Are all the possible methods acceptable?  Should we
identify one and only one that is required for compliance? Any discussion
from
others?

I'll add a reference to RFC2397.

**********************************************
 Don Wright                 don at lexmark.com

 Member, IEEE SA Standards Board
 Member, IEEE-ISTO Board of Directors
 f.wright at ieee.org / f.wright at computer.org

 Director, Alliances & Standards
 Lexmark International
 740 New Circle Rd
 Lexington, Ky 40550
 859-825-4808 (phone) 603-963-8352 (fax)
**********************************************




Jun Fujisawa <fujisawa.jun%canon.co.jp at interlock.lexmark.com> on 03/08/2002
02:11:37 AM

To:   PWG XHTML-Print <xp%pwg.org at interlock.lexmark.com>
cc:    (bcc: Don Wright/Lex/Lexmark)
Subject:  XP> Inline image data



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