Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

convert bitmap to byte array

How can I convert a bitmap to a byte array in c++ WITHOUT the .net framework?

like image 971
user37875 Avatar asked Dec 09 '08 23:12

user37875


1 Answers

If you’re using Windows, you can use GetDIBits to retrieve the bitmap data.

like image 78
Konrad Rudolph Avatar answered Sep 28 '22 03:09

Konrad Rudolph