colour inversion in RGBAImage.h
Brought to you by:
yeehector
I ported this application to the haXe programming language, and it now runs on 4 other languages.
http://bitbucket.org/grumpytoad/pdiff-hx
In the process I noticed an inconsistency in RGBAImage.h, which effectively swaps the red and blue channels during a comparison. The following should be used for Get_Red and Get_Blue:
unsigned char Get_Red(unsigned int i) { return ((Data[i] >> 16) & 0xFF); }
unsigned char Get_Blue(unsigned int i) { return (Data[i] & 0xFF); }