attachment-0001
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Today we had a chance to discuss color handling in a small
group (Mark Hamzy, Jim Sommer, Jody from the Gnome organization and me) to
check the UPDF design and compare to the needs in the
FSG.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>We agreed that at the first glance it looks like UPDF would
provide all tags needed to describe the way the device is expecting color
data.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>1. The UPDF Color feature</FONT></DIV>
<DIV><FONT size=2>Multiple color records can be created, e.g. for monochrome and
color.</FONT></DIV>
<DIV><FONT size=2>A color record offers RGBColor elements, which tell about the
colors the device supports, e.g. CMYK, which would mean the definition of four
RGBColor elements.</FONT></DIV>
<DIV><FONT size=2>The bit depth can be set per color. if the complete bit depth
can be supported by the device, no additional halftoning is
required.</FONT></DIV>
<DIV><FONT size=2>The color records also tell, whether the color info should be
provided per pixel, per band or per scanline.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>2. The UPDF PhotoHalftoning feature</FONT></DIV>
<DIV><FONT size=2>There are halftoning feature for vector and text as well. But
we can concentrate on raster (= photo), as that's the only place where
halftoning patterns are likely used on the host (we consciously are ignoring the
download of patterns).</FONT></DIV>
<DIV><FONT size=2>Let's say a device only supports two of the eight bits a
driver has to deal with. Then the remaining six bits are supposed to be resolved
by halftoning.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>We are facing a XML limitation here. There are no
two-dimensional arrays in XML. So we have to split the matrix up into lines. By
default the remaining six bits may be resolved by a 6x6 matrix. This would
result in six of the OneHorizontalLineOfTheHalftoningMatrix elements, each with
six comma separated values.</FONT></DIV>
<DIV><FONT size=2>That's the best flexibility we can get in XML for that
definition.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>3. The UPDF RasterObject object</FONT></DIV>
<DIV><FONT size=2>This is the specification of the way raster graphic is
handled.</FONT></DIV>
<DIV><FONT size=2>This moment we can concentrate on the Band
element.</FONT></DIV>
<DIV><FONT size=2>If no Band element is specified, the device can deal with the
whole page as a band.</FONT></DIV>
<DIV><FONT size=2>Otherwise you would see the maximum size defined
here.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>That's the high level explanation of how it's done in
UPDF.</FONT></DIV>
<DIV><FONT size=2>There are no LUT. However one can add ICC Profiles to the
device configuration and LUT can be taken from there.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I'm going to put the current files out on the web
tonight.</FONT></DIV>
<DIV><FONT size=2>you can find it under <A
href="ftp://ftp.pwg.org/pub/pwg/upd/wd/">ftp://ftp.pwg.org/pub/pwg/upd/wd/</A></FONT></DIV>
<DIV><FONT size=2>schemas are located in subdirectory 'schemas'.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Norbert Schade</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>Norbert Schade<BR>69 Prescott Drive<BR>North Chelmsford<BR>MA
01863<BR>phone: 1-978-251-1017<BR>email: <A
href="mailto:norbertschade@comcast.net">norbertschade@comcast.net</A></FONT></DIV></BODY></HTML>