from PIL import Image
ref=Image.open("newimage.jpg")
ref1=ref.resize((4000,3000))
print(ref1.size)
ref1.show()
ref1.save("newimage.jpg")


from PIL import Image
ref=Image.open("newfile1.jpg")
ref1=ref.convert("L")
ref1.show()
ref1.save("newfile.jpg")

7959e87a83deb1aef03e5c7bce8a440253ffa31f
<mask token>

<mask token>
print(ref1.size)
ref1.show()
ref1.save('newimage.jpg')
<mask token>
ref1.show()
ref1.save('newfile.jpg')

<mask token>
ref = Image.open('newimage.jpg')
ref1 = ref.resize((4000, 3000))
print(ref1.size)
ref1.show()
ref1.save('newimage.jpg')
<mask token>
ref = Image.open('newfile1.jpg')
ref1 = ref.convert('L')
ref1.show()
ref1.save('newfile.jpg')

from PIL import Image
ref = Image.open('newimage.jpg')
ref1 = ref.resize((4000, 3000))
print(ref1.size)
ref1.show()
ref1.save('newimage.jpg')
from PIL import Image
ref = Image.open('newfile1.jpg')
ref1 = ref.convert('L')
ref1.show()
ref1.save('newfile.jpg')

from PIL import Image
ref=Image.open("newimage.jpg")
ref1=ref.resize((4000,3000))
print(ref1.size)
ref1.show()
ref1.save("newimage.jpg")


from PIL import Image
ref=Image.open("newfile1.jpg")
ref1=ref.convert("L")
ref1.show()
ref1.save("newfile.jpg")
