haven't tested.. but heres a few thoughts on the above code
reading 3 bytes at once (b4 doing another eof test) is the file size multiple of 3?
you plot at pos,1 should it be pos,0 (image height 1 pixel)
you don't increase the pos position so all pixel stuff will be at 0,0
just a few thoughts
reading 3 bytes at once (b4 doing another eof test) is the file size multiple of 3?
you plot at pos,1 should it be pos,0 (image height 1 pixel)
you don't increase the pos position so all pixel stuff will be at 0,0
just a few thoughts