tools.py - Changed signature of `to_png(data, size, output=None)` to `to_png(data, size, level=6, output=None)`. `level` is the Zlib compression level.
3.1.2
tools.py - Changed signature of `to_png(data, size, output)` to `to_png(data, size, output=None)`. If `output` is `None`, the raw PNG bytes will be returned.
3.1.1
\_\_main\_\_.py - Added `args` argument to `main()`
base.py - Moved `ScreenShot` class to `screenshot.py`
darwin.py - Added `CGPoint.__repr__()` function - Added `CGRect.__repr__()` function - Added `CGSize.__repr__()` function - Removed `get_infinity()` function
- MSS: add more way of customization to the output argument of `save()` - MSS: possibility to use custom class to handle screen shot data - Mac: properly support all display scaling and resolutions (fixes 14, 19, 21, 23) - Mac: fixed memory leaks (fixes 24) - Linux: handle bad display value - Windows: take into account zoom factor for high-DPI displays (fixes 20) - doc: several fixes (fixes 22) - tests: a lot of tests added for better coverage - add the 'Say Thanks' button - :heart: contributors: karanlyons