drummor
December 22nd, 2001, 02:50 PM
Hi, i've got such a problem - can anybody explain (or probably give some example) how to work with 8bit pictures. I need to get some pixel and then to paint it in some point. The problem is that the pixel is 8bit, and graphic functions (like setpixel) need COLORREF (RGB???). I don't know how to convert 1 byte to RGB. May be i need to work with pallete, but i don't know how to do it.
Or is there some other way??? Anyway somebody please help me!!!
Thanks.
Or is there some other way??? Anyway somebody please help me!!!
Thanks.