Closed oneTaken closed 5 years ago
If you are only using JPEG/JPEG 2000/PNG/GIF/TIFF go with imagesize_py, the one at my repo knows about a couple other image types. My answer is from 2013 and this is just throwaway code to illustrate that answer - over the time a few people sent patches but it is what it is.
I found the question Get Image size WITHOUT loading image into memory, and I go to the links to this repository and another implementation imagesize_py。
which repo should I use? I'm a little confused how to use your code.