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
Mailing lists / fpc-devel / 2005-06
Patch for fpreadpnm
2 messages · 2 people ·
- Colin Western 1
- Michael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
