Set/setPixel and Get weren't using the same indices. I've taken the ones used in Get and applied them to setPixel too.
This fixes testImageNoise for the monochrome image.
I don't know which of the two behaviors was correct, but the one in Get certainly is simpler and more efficient.
@deadprogram do you have a specification of the format somewhere?
Set/setPixel and Get weren't using the same indices. I've taken the ones used in Get and applied them to setPixel too. This fixes testImageNoise for the monochrome image.
I don't know which of the two behaviors was correct, but the one in
Get
certainly is simpler and more efficient. @deadprogram do you have a specification of the format somewhere?