Getting RGB values for each pixel from a 24bpp Bitmap for conversion to GBA format in C

后端 未结 8 1507
南方客
南方客 2020-12-16 08:52

I want to read the RGB values for each pixel from a .bmp file, so I can convert the bmp into a format suitable for GBA (GameBoy Advance).

I

8条回答
  •  离开以前
    2020-12-16 09:34

    If you are on windows you can use the LoadBitmap function from win32

    then given the handle convert it to a DIB bitmap and get to the pixels that way

提交回复
热议问题