When converting a RAW image to a calibrated image, we need to deal with the fact that some images might be upside down or flipped