<div dir="ltr">16 bit is now usual for printer drivers. There are serious reasons why one should pass it through. <div><br></div><div>Clearly you are trying to add too much functionality in one pass. I suggest at least a set of test files be prepared.</div>
<div><br></div><div>My own opinion is that printing will only work after a printing czar is appointed; it does not matter how competent or proficient at programming or cms, just that there be a single individual. </div><div>
<br></div><div>And I estimate that it will take at least 5 years from now for printing under Linux Cups to reach the level of stability and functionality of the Apple print system. Sadly. </div><div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 11:23 PM, James Cloos <span dir="ltr"><<a href="mailto:cloos@jhcloos.com" target="_blank">cloos@jhcloos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">>>>>> "TK" == Till Kamppeter <<a href="mailto:till.kamppeter@gmail.com">till.kamppeter@gmail.com</a>> writes:<br>
<br>
</div>TK> I have done more investigations on 16-bit Raster files and swapping each<br>
TK> pair of two bytes in the bitmap (switching endianess) makes the PDF<br>
TK> coming out correctly. This means something is Little Endian here<br>
<br>
As I (eventually) noted in(at the end of) my last post, cupsRasterReadPixels(),<br>
from libcupsimage, normalizes what it reads to native order. So it'll only<br>
look like little endian on little endian arch's.<br>
<br>
Given the rastertopdf uses that, it must then use htonl(3)/htons(3) or<br>
opencode its own to get things back to big endian.<br>
<br>
The gs output probably is fine.<br>
<br>
If you do not have a big endian box to test on, sign up for:<br>
<br>
<a href="https://gcc.gnu.org/wiki/CompileFarm#How_to_Get_Involved.3F" target="_blank">https://gcc.gnu.org/wiki/CompileFarm#How_to_Get_Involved.3F</a><br>
<br>
They have a couple of power 730 (one running fedora, one aix) and<br>
a sparc box.<br>
<div class="im HOEnZb"><br>
-JimC<br>
--<br>
James Cloos <<a href="mailto:cloos@jhcloos.com">cloos@jhcloos.com</a>> OpenPGP: 0x997A9F17ED7DAEA6<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
openicc mailing list<br>
<a href="mailto:openicc@lists.freedesktop.org">openicc@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/openicc" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openicc</a><br>
</div></div></blockquote></div><br></div>