in python image read/write ,the minimum number of mode conversions for modes other than L and RGB is?
a 1
b 2
c 3
d 4
Answers
Answered by
1
Explanation:
it's helpful for you
Attachments:
Answered by
1
Answer:
a=1
Explanation:
# importing image class from PIL package
from PIL import Image
# creating image object
img = Image.open(r"C:\Users\System-Pc\Desktop\scene3.jpg")
# using convert method for img1
img1 = img.convert("L")
img1.show()
# using convert method for img2
img2 = img.convert("1")
img2.show()
As shown in above example ,there are two methods used to convert a mode of image and they are image.convert("L") and image.convert("1")
so , the remaining method is "1"
Similar questions