attachment-0001
<html><head><base href="x-msg://149/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It should be 8-bits per pixel. I'm working on regenerating the files...<div><br><div><div>On May 4, 2011, at 12:57 PM, Petrie, Glen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Geneva; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="Section1" style="page: Section1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" color="blue" face="Cambria"><span style="font-size: 12pt; font-family: Cambria; color: blue; ">I was looking some of the PWGR images you provided. I expected the sgray-8 to have 8 bits/color and 8 bits/pixel but the file shows 24 bits/pixel. Which is correct?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" color="blue" face="Cambria"><span style="font-size: 12pt; font-family: Cambria; color: blue; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" color="blue" face="Cambria"><span style="font-size: 12pt; font-family: Cambria; color: blue; ">Glen<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" color="blue" face="Cambria"><span style="font-size: 12pt; font-family: Cambria; color: blue; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" color="blue" face="Cambria"><span style="font-size: 12pt; font-family: Cambria; color: blue; "><o:p> </o:p></span></font></div><div><div class="MsoNormal" align="center" style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; text-align: center; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; font-family: 'Times New Roman'; "><hr size="2" width="100%" align="center" tabindex="-1"></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold; ">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; "><span class="Apple-converted-space"> </span><a href="mailto:ipp-bounces@pwg.org" style="color: blue; text-decoration: underline; ">ipp-bounces@pwg.org</a><span class="Apple-converted-space"> </span>[mailto:ipp-bounces@pwg.org]<span class="Apple-converted-space"> </span><b><span style="font-weight: bold; ">On Behalf Of<span class="Apple-converted-space"> </span></span></b>Roy Samuel<br><b><span style="font-weight: bold; ">Sent:</span></b><span class="Apple-converted-space"> </span>Thursday, April 28, 2011 9:47 PM<br><b><span style="font-weight: bold; ">To:</span></b><span class="Apple-converted-space"> </span><a href="mailto:ipp@pwg.org" style="color: blue; text-decoration: underline; ">ipp@pwg.org</a>; Michael Sweet<br><b><span style="font-weight: bold; ">Subject:</span></b><span class="Apple-converted-space"> </span>[IPP] Question on PWG draft specification mismatch & parsing</span></font><font size="3" face="Times New Roman"><span style="font-size: 12pt; font-family: 'Times New Roman'; "><o:p></o:p></span></font></div></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Hi Michael,<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">I had downloaded the sample PWGRaster files from:<a href="http://ftp.easysw.com/pub/cups/examples/PWGRasterSamples.zip" style="color: blue; text-decoration: underline; ">http://ftp.easysw.com/pub/cups/examples/PWGRasterSamples.zip</a>, with your latest working draft of the PWG raster found at:<span class="Apple-converted-space"> </span><a href="ftp://ftp.pwg.org/pub/pwg/ipp/wd/wd-ippraster10-20110327-rev.pdf" style="color: blue; text-decoration: underline; ">ftp://ftp.pwg.org/pub/pwg/ipp/wd/wd-ippraster10-20110327-rev.pdf</a>. I compared the raster files in the folders:<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">PWGRasterSamples\srgb-16 &<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">PWGRasterSamples\srgb-8, with the specs given in the draft document.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">I found that neither of the directories contained files that adhered to the draft document w.r.t parsing the header. Specifically for the value of ‘NumColors’.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">--1--<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">According to the draft document, bytes 420-423 need to contain ‘NumColors’ value, however, I found them to be zero. Are the sample files outdated??<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">--2--<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Based on the decode algorithm given in the draft document, I had tried to obtain plain RGB raster data from a pwg-raster file. I had converted the PDF document obtained here:<a href="http://orenyomtov.com/downloads/testpage.pdf" style="color: blue; text-decoration: underline; ">http://orenyomtov.com/downloads/testpage.pdf</a><span class="Apple-converted-space"> </span>to obtain pwg-raster file using Google cloud print. I am able to get the pwg-raster file from GCP successfully. However, on converting the pwg-raster file to RGB data, I have been successful in decoding around 1/6<sup>th</sup><span class="Apple-converted-space"> </span>or so, to raster data successfully, i.e. the top part of the page is being rendered successfully, while the rest is not rendered.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">(I use GIMP to open the output raster file in RAW mode).<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">I have attached a screenshot of the output file that I’m able to view through GIMP (scaled down version).<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Is my algorithm wrong? Or are the specs incorrect?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Regards.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="4" color="black" face="Helvetica"><span style="font-size: 13.5pt; font-family: Helvetica; color: black; ">_________________________________________________</span></font><b><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold; "><o:p></o:p></span></font></b></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><b><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold; ">Roy Samuel | Celstream Technologies |<span class="Apple-converted-space"> </span></span></font></b><b><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: blue; font-weight: bold; "><a href="http://www.celstream.com/" style="color: blue; text-decoration: underline; ">www.celstream.com</a></span></font></b><b><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold; "><o:p></o:p></span></font></b></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; font-family: 'Times New Roman'; "><br>--<span class="Apple-converted-space"> </span><br>This message has been scanned for viruses and<span class="Apple-converted-space"> </span><br>dangerous content by<span class="Apple-converted-space"> </span><a href="http://www.mailscanner.info/" style="color: blue; text-decoration: underline; "><b><span style="font-weight: bold; ">MailScanner</span></b></a>, and is<span class="Apple-converted-space"> </span><br>believed to be clean.<o:p></o:p></span></font></div></div><table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><pre>______________________________________________________________________________
DISCLAIMER: This electronic message and any attachments to this electronic
message is intended for the exclusive use of the addressee(s) named herein
and may contain legally privileged and confidential information. It is the
property of Celstream Technologies Pvt Limited. If you are not the intended
recipient, you are hereby strictly notified not to copy, forward, distribute
or use this message or any attachments thereto. If you have received this
message in error, please delete it and all copies thereof, from your system
and notify the sender at Celstream Technologies or
<a href="mailto:administrator@celstream.com" style="color: blue; text-decoration: underline; ">administrator@celstream.com</a> immediately.
______________________________________________________________________________</pre></font></td></tr></tbody></table></div></span></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Geneva; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Geneva; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>________________________________________________________________________</div><div>Michael Sweet, Senior Printing System Engineer, PWG Chair</div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></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>