~edwin-grubbs/python-imaging/trunk

« back to all changes in this revision

Viewing changes to Docs/pythondoc-PIL.ImageGrab.html

  • Committer: effbot
  • Date: 2006-07-05 20:36:11 UTC
  • Revision ID: svn-v4:be285980-f00d-0410-a9fe-d4747b46ecd0:pil:348
Load Imaging-1.1.6b1 into pil.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
2
 
<html>
3
 
<head>
4
 
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
5
 
<title>The PIL.ImageGrab Module</title>
6
 
<link rel='stylesheet' href='effbot.css' type='text/css' />
7
 
</head>
8
 
<body>
9
 
<h1>The PIL.ImageGrab Module</h1>
10
 
<p>(New in 1.1.3)  The <b>ImageGrab</b> module can be used to copy
11
 
the contents of the screen to a PIL image memory.
12
 
</p><p>
13
 
The current version works on Windows only.</p>
14
 
 
15
 
<h2>Module Contents</h2>
16
 
<dl>
17
 
<dt><a id='PIL.ImageGrab.grab-function' name='PIL.ImageGrab.grab-function'><b>grab(bbox=None)</b></a> [<a href='#PIL.ImageGrab.grab-function'>#</a>]</dt>
18
 
<dd>
19
 
<p>(New in 1.1.3) Take a snapshot of the screen.  The pixels inside the
20
 
bounding box are returned as an &quot;RGB&quot; image.  If the bounding box is
21
 
omitted, the entire screen is copied.</p>
22
 
<dl>
23
 
<dt><i>bbox</i></dt>
24
 
<dd>
25
 
What region to copy.  Default is the entire screen.</dd>
26
 
<dt>Returns:</dt>
27
 
<dd>
28
 
An image</dd>
29
 
</dl><br />
30
 
</dd>
31
 
<dt><a id='PIL.ImageGrab.grabclipboard-function' name='PIL.ImageGrab.grabclipboard-function'><b>grabclipboard()</b></a> [<a href='#PIL.ImageGrab.grabclipboard-function'>#</a>]</dt>
32
 
<dd>
33
 
<p>(New in 1.1.4) Take a snapshot of the clipboard image, if any.</p>
34
 
<dl>
35
 
<dt>Returns:</dt>
36
 
<dd>
37
 
An image, a list of filenames, or None if the clipboard does
38
 
    not contain image data or filenames.  Note that if a list is
39
 
    returned, the filenames may not represent image files.</dd>
40
 
</dl><br />
41
 
</dd>
42
 
</dl>
43
 
</body></html>
 
1
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
 
2
<html>
 
3
<head>
 
4
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
 
5
<title>The PIL.ImageGrab Module</title>
 
6
<link rel='stylesheet' href='effbot.css' type='text/css' />
 
7
</head>
 
8
<body>
 
9
<h1>The PIL.ImageGrab Module</h1>
 
10
<p>(New in 1.1.3)  The <b>ImageGrab</b> module can be used to copy
 
11
the contents of the screen to a PIL image memory.
 
12
</p><p>
 
13
The current version works on Windows only.</p>
 
14
 
 
15
<h2>Module Contents</h2>
 
16
<dl>
 
17
<dt><a id='PIL.ImageGrab.grab-function' name='PIL.ImageGrab.grab-function'><b>grab(bbox=None)</b></a> [<a href='#PIL.ImageGrab.grab-function'>#</a>]</dt>
 
18
<dd>
 
19
<dl>
 
20
<dt><i>bbox</i></dt>
 
21
<dd>
 
22
</dd>
 
23
<dt>Returns:</dt>
 
24
<dd>
 
25
</dd>
 
26
</dl><br />
 
27
</dd>
 
28
<dt><a id='PIL.ImageGrab.grabclipboard-function' name='PIL.ImageGrab.grabclipboard-function'><b>grabclipboard()</b></a> [<a href='#PIL.ImageGrab.grabclipboard-function'>#</a>]</dt>
 
29
<dd>
 
30
<dl>
 
31
<dt>Returns:</dt>
 
32
<dd>
 
33
</dd>
 
34
</dl><br />
 
35
</dd>
 
36
</dl>
 
37
</body></html>