Make sure the RGB values read from the file are correct, including for files with intensity (see RGB to intensity calculation in the rust code)