Mss

Latest version: v9.0.1

Safety actively analyzes 629599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

3.2.1

windows.py
- Removed `MSS.scale_factor` property
- Removed `MSS.scale()` method

3.2.0

base.py
- Added `MSSBase.compression_level` attribute

linux.py
- Added `MSS.drawable` attribute

screenshot.py
- Added `Screenshot.bgra` attribute

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

windows.py
- Added `MSS.scale()` method
- Added `MSS.scale_factor` property

3.1.0

- 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

3.0.1

- fixed examples links

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.