File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,37 +148,31 @@ print(next(screenshotter.save(mon=-1, output='fullscreen.png')))
148148API: version 2
149149==============
150150
151- Get positions and dimensions of monitors:
152-
153151``` python
154152enum_display_monitors(force = False )
155153```
156154
157- If ` force ` is set to ` True ` , it will rescan for monitors informations.
155+ Get positions and dimensions of monitors. If ` force ` is set to ` True ` , it will rescan for monitors informations.
158156
159157It stocks monitors informations into ` monitors ` and returns it.
160158
161159---
162160
163- Retrieve screen pixels for a given monitor.
164-
165161``` python
166162get_pixels(monitor)
167163```
168164
169- ` monitor ` is a dict generated by ` enum_display_monitors() ` .
165+ Retrieve screen pixels for a given monitor. ` monitor ` is a dict generated by ` enum_display_monitors() ` .
170166
171167It stocks pixels data into ` image ` (RGB) and returns it.
172168
173169---
174170
175- Grab a screenshot and save it to a file.
176-
177171``` python
178172save(mon = 0 , output = ' monitor-%d ' , callback = lambda * x : True )
179173```
180174
181- Parameters:
175+ Grab a screenshot and save it to a file. Parameters:
182176
183177```
184178mon
@@ -199,8 +193,6 @@ This is a generator which returns created files.
199193
200194---
201195
202- Export pixels to a fresh PNG:
203-
204196``` python
205197to_png(data, width, height, output)
206198```
You can’t perform that action at this time.
0 commit comments