attachment-0001
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Cambria;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1944653307;
        mso-list-template-ids:184191434;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>I would like to request two additional optional fields be
added to the PWG Raster. Since they are new to even CUPS raster they
would need to be reserved in the field known as “cupsInteger”. So,
while the fields would be optional to fill in, the fields need to be reserved in
the header definition .<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>I have found that is useful to have the size of the raster
data and to have the raster data that is uncompressed (, at least temporarily);
thus a compressed state flag is useful.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>Once the PWG Raster is used by clients and printer, it
will most likely be used more universally by transforms and other processes (previews,
etc.) . Currently is difficult to navigate the PWG Raster pages because
the size of the (compressed) raster is unknown; therefore, therefore, the
entire raster file must be serially decompressed to move from one page to the
next. While I realize, for some resource limited device, it is not possible
to know the size of the (compressed) raster before sending the data, it is very
useful for both navigation and check if the size of the (compressed) raster is known.
Being optional, if the size information is not known then the field
has value of zero.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>For most (all) processing, the raster data needs to be
decompressed. (For transport it should also be compressed.) Therefore,
it convenient to have the raster page data to be uncompressed; versus
decompressing and compressing between processes. To denote
this, a state flag is needed. This is also an optional field and
the value of zero (0) means the data is compressed. I would not
waste a whole integer on a flag, therefore, I would propose that one of the
cupsInteger be reserved for flags<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>cupsInteger[0:0] = Compressed (0)/Decompressed(1) raster
data<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>cupsInteger[1] = PageCount (as proposed
by Michael Sweet below)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>cupsInteger[2] = Size, in bytes, of a
(this) raster data (compressed or uncompressed size)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>glen<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>====<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'>Lasted additions posted by Michael Sweet<o:p></o:p></span></font></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=3 face=Cambria><span
style='font-size:12.0pt;font-family:Cambria'>PWG Raster Review <o:p></o:p></span></font></li>
<ol style='margin-top:0in' start=1 type=a>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'><a
href="ftp://ftp.pwg.org/pub/pwg/ipp/wd/wd-ippraster10-20110327-rev.pdf"
title="ftp://ftp.pwg.org/pub/pwg/ipp/wd/wd-ippraster10-20110327-rev.pdf">ftp://ftp.pwg.org/pub/pwg/ipp/wd/wd-ippraster10-20110327-rev.pdf</a>
<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Would be nice to have total page count (if known) <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Proposal:
Add PageCount (integer, 0 to 2^31-1) to page header
("cupsInteger[0]" from CUPS Raster), which is already used by
several CUPS Raster printer drivers <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>0 means
"I don't know how many pages" <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>> 0
means "this is how many pages are in the entire document" <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Every
page gets the same value <o:p></o:p></span></font></li>
</ul>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Need coordinate space of image (flip/rotate on back side) <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Proposal:
Add HorizontalTransform(integer, -1 or 1) and VerticalTransform(integer,
-1 or 1) to the page header (“cupsInteger[1]” and
“cupsInteger[2]” from CUPS Raster) <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>“Normal”
pages have values of 1 and 1 <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>“Rotated”
pages have values of -1 and -1 (180 degree rotation) <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>“Flipped”
pages have values of 1 and -1 (vertical flip) or -1 and 1 (horizontal
flip) <o:p></o:p></span></font></li>
</ul>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Need bounding rectangle of any content to be imaged on the page
(ImageBox) <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Proposal
1: • Use existing ImagingBBox (4 x integer) from page header -
simple bounding box in (integer) points <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Proposal
2: Add ImageBottom (integer, 0-2^32-1), ImageLeft (integer, 0-2^32-1),
ImageRight (integer, 0-2^32-1), and ImageTop (integer, 0-2^32-1) to the
page header (“cupsInteger[3]” through
“cupsInteger[6]” from CUPS Raster) - simple bounding box in
pixels/lines <o:p></o:p></span></font></li>
</ul>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Some confusion about why we need pwg-raster-resolutions-support <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Will be
adding explanatory text to the definition <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Basically
supported raster resolutions can be different than supported hardware
resolutions <o:p></o:p></span></font></li>
</ul>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Some confusion about the compression algorithm <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Will be
adding examples for 1-bit grayscale and 32-bit CMYK images to clarify <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Also
have sample raster files available for download <o:p></o:p></span></font></li>
</ul>
<li class=MsoNormal style='mso-list:l0 level2 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Samples
files: <o:p></o:p></span></font></li>
<ul style='margin-top:0in' type=square>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Currently
at <a href="http://ftp.easysw.com/pub/cups/examples/PWGRasterSamples.zip"
title="http://ftp.easysw.com/pub/cups/examples/PWGRasterSamples.zip">http://ftp.easysw.com/pub/cups/examples/PWGRasterSamples.zip</a>
<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>40MB
download, 80MB worth of data <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>150dpi
files for black-1, cmyk-8, sgray-8, sgray-16, srgb-8, and srgb-16 <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Representative
documents for email, line art, maps, photos, and web pages <o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level3 lfo1'><font size=3
face=Cambria><span style='font-size:12.0pt;font-family:Cambria'>Issue:
Where to place sample raster files? <o:p></o:p></span></font></li>
</ul>
</ol>
</ol>
<p class=MsoNormal><font size=3 face=Cambria><span style='font-size:12.0pt;
font-family:Cambria'><o:p> </o:p></span></font></p>
</div>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body>
</html>