It parses image files' header and return image size.

This is a pure Python library.