Antialiasing support

* Added antialiasing.
* Fixed bugs with little endian bitmaps
* Fixed issue with alpha value on black/white images