Pixmap/ReadPixel Problem

BlitzMax Forums/BlitzMax Beginners Area/Pixmap/ReadPixel Problem

Grah. Don't you hate it when you struggle with something for a few days, and then no sooner than you post a help request, the problem resolves itself?

Apparently, my problem was twofold:

A.) I was somehow misinterpreting the number being returned by ReadPixel.

B.) The code I stole to convert to decimal RGB values wasn't using the bitwise And operator.

Regards,
Corporate Dog