Skip to content

Releases: BoboTiG/python-mss

3.3.0

04 Sep 18:13
Compare
Choose a tag to compare
  • Linux: add an error handler for the XServer to prevent interpreter crash (fix #61)
  • MSS: fix a ResourceWarning: unclosed file in setup.py
  • tests: fix a ResourceWarning: unclosed file
  • doc: fix a typo in Screenshot.pixel() method (thanks to @mchlnix)
  • big code clean-up using black

3.2.1

21 May 12:18
Compare
Choose a tag to compare
  • new contributor: @ryanfox
  • Windows: enable Hi-DPI awareness

3.2.0

22 Mar 15:40
Compare
Choose a tag to compare
  • ⚠️ removed support for Python 3.4
  • MSS: add the Screenshot.bgra attribute
  • MSS: speed-up grabbing on the 3 platforms
  • tools: add PNG compression level control to to_png()
  • tests: add leaks.py and benchmarks.py for manual testing
  • doc: add an example about capturing part of the monitor 2
  • doc: add an example about computing BGRA values to RGB

3.1.2

05 Jan 07:07
fe69e5d
Compare
Choose a tag to compare
  • ⚠️ removed support for Python 3.3
  • CI: build the documentation
  • doc: improvements and fixes (fix #37)
  • MSS: possibility to get the whole PNG raw bytes
  • Windows: capture all visible windows

3.1.1

05 Jan 07:05
cf781ca
Compare
Choose a tag to compare
  • new contributor: @karanlyons
  • MSS: add the mss entry point
  • 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 (fix #14, #19, #21, #23)
  • Mac: fix memory leaks (fix #24)
  • Linux: handle bad display value
  • Windows: Take into account zoom factor for high-DPI displays (fix #20)
  • add the 'Say Thanks' button
  • doc: several fixes (fix #22)
  • tests: a lot of tests added for better coverage

3.0.1

05 Jan 07:13
Compare
Choose a tag to compare
  • big refactor, introducing the ScreenShot class
  • add Numpy array interface support
  • examples: add OpenCV/Numpy, PIL pixels, FPS

2.0.22

05 Jan 07:16
Compare
Choose a tag to compare
  • new contributors: @DavideBecker, @redodo
  • add an example to capture only a part of the screen
  • better use of exception mechanism
  • Linux: use of hasattr to prevent Exception on early exit
  • Mac: take into account extra black pixels added when screen with is not divisible by 16 (fix #14)

2.0.18

05 Jan 07:18
Compare
Choose a tag to compare
  • new contributor: @cycomanic
  • change license to MIT
  • Linux: remove MSS library
  • Linux: insanely fast using only ctypes
  • Linux: skip unused monitors
  • Linux: use errcheck instead of deprecated restype with callable (fix #11)
  • Linux: fix security issue (reported by Bandit)
  • add type hints
  • add documentation (fix #10)
  • add tests and use Travis CI (fix #9)
  • remove unused code (reported by Vulture)

2.0.0

05 Jan 07:20
Compare
Choose a tag to compare
  • split the module into several files
  • add issue and pull request templates
  • a lot of code refactor and optimizations
  • MSS: rename save_img() to to_png()
  • MSS: save(): replace screen argument by mon
  • Mac: get rid of the PyObjc module, 100% ctypes
  • Linux: prevent segfault when DISPLAY is set but no X server started
  • Linux: prevent segfault when Xrandr is not loaded
  • Linux: get_pixels() insanely fast, use of MSS library (C code)
  • Windows: fix #6, screen shot not correct on Windows 8

1.0.2

05 Jan 07:20
Compare
Choose a tag to compare
  • MSS: fix non existent alias