|
1 | | -3.1.0 (2017-08-xx) |
| 1 | +3.1.2 (2018-01-xx) |
2 | 2 | ================== |
3 | 3 |
|
| 4 | +tools.py |
| 5 | +-------- |
| 6 | +- 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. |
| 7 | + |
| 8 | + |
| 9 | +3.1.1 (2017-11-27) |
| 10 | +================== |
| 11 | + |
| 12 | +__main__.py |
| 13 | +----------- |
| 14 | +- Added ``args`` argument to ``main()`` |
| 15 | + |
4 | 16 | base.py |
5 | 17 | ------- |
6 | | -- Moved `ScreenShot` class to screenshot.py |
| 18 | +- Moved ``ScreenShot`` class to screenshot.py |
7 | 19 |
|
8 | 20 | darwin.py |
9 | 21 | --------- |
10 | | -- Removed `get_infinity()` function |
11 | | -- Removed `resize()` method. Use `_crop_width()` method instead. |
| 22 | +- Add ``CGPoint.__repr__()`` |
| 23 | +- Add ``CGRect.__repr__()`` |
| 24 | +- Add ``CGSize.__repr__()`` |
| 25 | +- Removed ``get_infinity()`` function |
12 | 26 |
|
13 | 27 | windows.py |
14 | 28 | ---------- |
15 | | -- Added `scale_factor` property to `MSS` class |
16 | | -- Added `scale()` method to `MSS` class |
| 29 | +- Added ``scale()`` method to ``MSS`` class |
| 30 | +- Added ``scale_factor`` property to ``MSS`` class |
17 | 31 |
|
18 | 32 |
|
19 | 33 | 3.0.0 (2017-07-06) |
20 | 34 | ================== |
21 | 35 |
|
22 | 36 | base.py |
23 | 37 | ------- |
24 | | -- Added the `ScreenShot` class containing data for a given screen shot (support the Numpy array interface [`ScreenShot.__array_interface__`]) |
25 | | -- Add `shot()` method to `MSSBase`. It takes the same arguments as the `save()` method. |
26 | | -- Renamed `get_pixels` to `grab`. It now returns a `ScreenShot` object. |
27 | | -- Moved `to_png` method to `tools.py`. It is now a simple function. |
28 | | -- Removed `enum_display_monitors()` method. Use `monitors` property instead. |
29 | | -- Removed `monitors` attribute. Use `monitors` property instead. |
30 | | -- Removed `width` attribute. Use `ScreenShot.size[0]` attribute or `ScreenShot.width` property instead. |
31 | | -- Removed `height` attribute. Use `ScreenShot.size[1]` attribute or `ScreenShot.height` property instead. |
32 | | -- Removed `image`. Use the `ScreenShot.raw` attribute or `ScreenShot.rgb` property instead. |
33 | | -- Removed `bgra_to_rgb()` method. Use `ScreenShot.rgb` property instead. |
| 38 | +- Added the ``ScreenShot`` class containing data for a given screen shot (support the Numpy array interface [``ScreenShot.__array_interface__``]) |
| 39 | +- Add ``shot()`` method to ``MSSBase``. It takes the same arguments as the ``save()`` method. |
| 40 | +- Renamed ``get_pixels`` to ``grab``. It now returns a ``ScreenShot`` object. |
| 41 | +- Moved ``to_png`` method to ``tools.py``. It is now a simple function. |
| 42 | +- Removed ``enum_display_monitors()`` method. Use ``monitors`` property instead. |
| 43 | +- Removed ``monitors`` attribute. Use ``monitors`` property instead. |
| 44 | +- Removed ``width`` attribute. Use ``ScreenShot.size[0]`` attribute or ``ScreenShot.width`` property instead. |
| 45 | +- Removed ``height`` attribute. Use ``ScreenShot.size[1]`` attribute or ``ScreenShot.height`` property instead. |
| 46 | +- Removed ``image``. Use the ``ScreenShot.raw`` attribute or ``ScreenShot.rgb`` property instead. |
| 47 | +- Removed ``bgra_to_rgb()`` method. Use ``ScreenShot.rgb`` property instead. |
34 | 48 |
|
35 | 49 | darwin.py |
36 | 50 | --------- |
37 | | -- Removed `_crop_width()` method. Screen shots are now using the width setted by the OS (rounded to 16). |
| 51 | +- Removed ``_crop_width()`` method. Screen shots are now using the width setted by the OS (rounded to 16). |
38 | 52 |
|
39 | 53 | exception.py |
40 | 54 | ------------ |
41 | | -- Renamed `ScreenshotError` class to `ScreenShotError` |
| 55 | +- Renamed ``ScreenshotError`` class to ``ScreenShotError`` |
42 | 56 |
|
43 | 57 | tools.py |
44 | 58 | -------- |
45 | | -- Changed signature of `to_png(data, monitor, output)` to `to_png(data, size, output)` where `size` is a `tuple(width, height)` |
| 59 | +- Changed signature of ``to_png(data, monitor, output)`` to ``to_png(data, size, output)`` where ``size`` is a ``tuple(width, height)`` |
0 commit comments