Is this possible? It seems it's only possible if the metadata width/height is less than zero or crop region width/height is less than zero, which is not legal I would think. I'm curious if this test is necessary and if it is should there be a test at the beginning of the function to ensure this condition will not happen at this point in the function.