[fpc-devel] Patch for fpreadpnm
mftq75 at dsl.pipex.com
Sat Jun 11 15:02:39 CEST 2005
The attach fixes two problems I found reading pnm files:
- RGB files were not being read correctly
- byte values of 255 were overflowing.
I have adjusted the colour scaling to be compatible with what happens
for .BMP files. I have not been able to do much testing, as I am short
of files to test, but it works for the file I originally had problems
with at least.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3268 bytes
Desc: not available
More information about the fpc-devel