I'm sorry if this is something that is obvious and I'm just missing it.
I am using the C_API to tinker around right now and I was trying to navigate the different ways to use the LCDBitmap
.
When I use: playdate->graphics->getBitmapData( ... )
I have no issues viewing the height and width, but what I'd really like to do is look at the raw pixel data - what I'm assuming is the raw pixel data - in the uint8_t**
argument.
Following the C_API example Exposure that uses this call, I pass the function something like uint8_t* data
then try to iterate over it using some for loops like in the example.
Now I'll explain what I think I'm going to be able to accomplish with this. I figured I could use this to view what color is at a particular pixel location.
Example: (0,0) of the Bitmap has kColorBlack
and I'd like to know that.
Maybe I'm approaching this all wrong and there is a much easier way, but I'm just not sure how I can preform this check on the Bitmap.
Thanks in advance. I'm very excited about working with all of you and this project!