How do I convert an image file extension from an .IMG file (disc image) to a .tiff file?

Viewed 54

I am failing to convert image file with extension .IMG file to .TIFF file. Basically many formats convertion happened with pillow . When i am working with Disc image (.IMG) file it shows cannot identify image file .i have checked images meta data info there moreover both internal types and extension is same and .IMG file compression is JPEG(Old-style) . can please share any articles or any code snippet..?

from PIL import Image, ImageEnhance

im_1 = Image.open(r"202012010224072011014432918155.IMG")  # Disc image
im_1.show()
im_1.save(r'202012010224072011014432918155.tif', 'tif')
0 Answers
Related