Re: [fpc-devel] Patch for fpreadpnm

2005-06-11 Thread Michael Van Canneyt
On Sat, 11 Jun 2005, Colin Western wrote: > 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

[fpc-devel] Patch for fpreadpnm

2005-06-11 Thread Colin Western
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,