From: Nikodemus S. <nik...@ra...> - 2009-02-18 10:08:38
|
2009/2/17 fred voisin <fr...@fr...>: > may be it's trivial, I'm quite surprised to not succeed in reading > binary files, as for instance pbm file (but also some other formats for > audio etc). > Here is a code I took (after all) from Gimp tools for testing, very > close to my own code : ...snip... > this output looks very strange, not as expected and '(unsigned-byte from > 1 to 16 change nothing) - shouldn't be only zeros (0) and ones (1), I > remember having that times ago (some cool old code I did doesn't work now) ? Please provide a sample file, along with expected results from using your code on it. Cheers, -- Nikodemus |