pythonimage

How to get image meta without downloading whole image in python


How to fetch image properties height, width, size, mime in python by downloading only required bytes, so it doesn't take long to fetch a image.

Any help is appreciated.


Solution

  • I solved this by creating an imageinfo php library using threads. Here's the github link to that repository:

    https://github.com/rohitkhatri/python-image