![]() |
get the array of bytes of a bitmap?
Hello,
I am trying to get the array of bytes of a Bitmap. I am developing in eMbedded Visual C++ for mobile devices. I load the image (jpg image) from a file into a HBITMAP with the function "SHLoadImageFile". So I have a CBitmap or BITMAP in order to get the array of bytes. I need a function that will work for Windows CE because the function "GetDIBits" is not supported. I tried to do it with some functions like "CreateDIBSection" or "GetPixel", but neither of them works as I expected. It is also possible that I have used them it in a bad way so any help will be welcome. Thanks in advance, Xara |
| All times are GMT +5.5. The time now is 09:56. |