Force the image format to TIFF
The `if` clause ensure that we have a TIFF file to starts with. The conversion from numpy array to PIL Image does not extract the file format correctly, hence the manual assignment.
Loading
Please register or sign in to comment