make sure input file has the right bit depth and color type