The conversion of .jpg file to .tiff file in python.
I have tried the following two approaches but while using the output tiff file in my project, it doesn't support it.
import aspose.words as aw
doc = aw.Document()
builder = aw.DocumentBuilder(doc)
shape = builder.insert_image("0.jpg")
shape.image_data.save("/TIFFs/0.tiff")
from PIL import Image
im = Image.open('0.jpg')
im.save("/TIFFs/0.tiff", 'TIFF')