switched to .png and added the base for an RGB-based analyzer