Should use getReaders here.
Then iterate on each possible reader to try if we could read the size:

```
for reader in readers:
    try:
        # try to read the image size
    except:
        pass
    raise IOError()
```