I installed pillow in python and used the module in the definition.
I tried doing this:
pil_image = Image.open(url)
cvs=str('L,W:') + str(pil_image.size)+str('H,V:') + str(pil_image.info['dpi'])
Some images don't have information in the properties, so DPI is not working . I need to populate PPI as well.
Can you please suggest a solution?