python3-imagesize
: Returns image size of PNG/JPEG/GIF images