[sane-devel] unpaper endianess
Jens Gulden
mail@jensgulden.de
Fri, 11 Mar 2005 15:57:23 +0100
Julien BLACHE wrote:
> Unpaper seems to have endianness issues;
Are you using 1-bit-per-pixel input or output files (i.e. .pbm, not
.pgm)? The only place where I would ad-hoc suspect an endianess issue is
when the single bits are accessed during conversion from/to 1-bit images...
Is it exactly the same input file, both on Intel and PPC?
I am not an experienced C programmer at all (most of the time I work
with Java), so it might well be that I did something stupid with regard
to endianess...
Jens