Is it possible to convert a ppm file from p3 to p6 or use pillow lib to open and read a ppm p3 file?
I actually have ppm p3 files and trying to convert them to jpg using pillow lib, but unfortunately, it doesn't read p3 files only p6.
Any idea abou how can i get solve this?
from PIL import Image
im = Image.open("sweet_pic.ppm")
im.save("sweet_pic.jpg")
https://stackoverflow.com/a/26937263/8692977
Thanks.