[fpc-devel] Patch for fpreadpnm

Michael Van Canneyt michael at freepascal.org
Sat Jun 11 15:24:30 CEST 2005

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 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.
> Colin

Thank you. I committed the patch; It seems correct.


More information about the fpc-devel mailing list