smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
638 stars 156 forks source link

ExtractAndConvertToRGB565 doesn't work #36

Closed hardillb closed 6 years ago

hardillb commented 6 years ago

While playing with the library I tried out the ExtractAndConvertToRGB565 method and it wasn't giving me the output I was expecting.

It looks like there is no bit width reduction going on and the shifting looked wrong. I'm going to have a go at fixing it and I'll stick in a pull request.