getting image size from png/jpeg/jpeg2000/gif file
Index | graphics
It parses image files header and return image size.
Homepage: https://github.com/shibukawa/imagesize_py