many attempted to iterate through pixels; finally got it using GetPixelsRef