I want to find out whether a pixel is the background pixel.
code is as below:
then, when I read the R,G,B value from pixmap, they always are not 255, but ‘\0’.
what’s the problem? is that problem of pixel format?
thanks a lot!