pixels[] returning gray

Does pixels[] actually contain an array of colors? I keep trying to use this:

color currentPX = baseImg.pixels[ xPlace + ( baseImg.width * yPlace ) ];

but it always returns gray.

The image loads in correctly, and I'm using loadPixels();

What could I be doing wrong?

Answers

Sign In or Register to comment.