Opportunities for errors in image file Image has an ERROR if… 1. Magic number is incorrect. 2. Important colors must be zero. (HW11 says it must be 0.) 3. Image size does not match file size. 4. bits_per_pixel is incorrect, i.e., calculation of image pixel data size based on width, height, and bits_per_pixel does not match the image_size_bytes field in the header. 5. Reserved section is not 00000000… 6. Plane size is not 1. 7. Number of rows (aka height) does not agree with expectation based on file size and/or other data. 8. Number of colors is not zero. (HW11 says it must be 0.) 9. Padding bytes must be zero.