~edwin-grubbs/python-imaging/trunk

« back to all changes in this revision

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

  • Committer: effbot
  • Date: 2006-03-01 19:31:18 UTC
  • Revision ID: svn-v4:be285980-f00d-0410-a9fe-d4747b46ecd0:pil:24
To prepare to load Imaging-1.1.5 into pil, perform 59 renames.

* pil/Docs/pythondoc-PIL.ArgImagePlugin.html: Renamed from
  pil/Docs/PIL.ArgImagePlugin.html.
* pil/Docs/pythondoc-PIL.BdfFontFile.html: Renamed from
  pil/Docs/PIL.BdfFontFile.html.
* pil/Docs/pythondoc-PIL.BmpImagePlugin.html: Renamed from
  pil/Docs/PIL.BmpImagePlugin.html.
* pil/Docs/pythondoc-PIL.BufrStubImagePlugin.html: Renamed from
  pil/Docs/PIL.ContainerIO.html.
* pil/Docs/pythondoc-PIL.CurImagePlugin.html: Renamed from
  pil/Docs/PIL.CurImagePlugin.html.
* pil/Docs/pythondoc-PIL.DcxImagePlugin.html: Renamed from
  pil/Docs/PIL.DcxImagePlugin.html.
* pil/Docs/pythondoc-PIL.EpsImagePlugin.html: Renamed from
  pil/Docs/PIL.EpsImagePlugin.html.
* pil/Docs/pythondoc-PIL.FliImagePlugin.html: Renamed from
  pil/Docs/PIL.FliImagePlugin.html.
* pil/Docs/pythondoc-PIL.FontFile.html: Renamed from
  pil/Docs/PIL.FontFile.html.
* pil/Docs/pythondoc-PIL.FpxImagePlugin.html: Renamed from
  pil/Docs/PIL.FpxImagePlugin.html.
* pil/Docs/pythondoc-PIL.GbrImagePlugin.html: Renamed from
  pil/Docs/PIL.GbrImagePlugin.html.
* pil/Docs/pythondoc-PIL.GdImageFile.html: Renamed from
  pil/Docs/PIL.GdImageFile.html.
* pil/Docs/pythondoc-PIL.GifImagePlugin.html: Renamed from
  pil/Docs/PIL.GifImagePlugin.html.
* pil/Docs/pythondoc-PIL.GimpGradientFile.html: Renamed from
  pil/Docs/PIL.GimpGradientFile.html.
* pil/Docs/pythondoc-PIL.GimpPaletteFile.html: Renamed from
  pil/Docs/PIL.GimpPaletteFile.html.
* pil/Docs/pythondoc-PIL.IcoImagePlugin.html: Renamed from
  pil/Docs/PIL.IcoImagePlugin.html.
* pil/Docs/pythondoc-PIL.Image.html: Renamed from
  pil/Docs/PIL.Image.html.
* pil/Docs/pythondoc-PIL.ImageChops.html: Renamed from
  pil/Docs/PIL.ImageChops.html.
* pil/Docs/pythondoc-PIL.ImageColor.html: Renamed from
  pil/Docs/PIL.ImageColor.html.
* pil/Docs/pythondoc-PIL.ImageDraw.html: Renamed from
  pil/Docs/PIL.ImageDraw.html.
* pil/Docs/pythondoc-PIL.ImageEnhance.html: Renamed from
  pil/Docs/PIL.ImageEnhance.html.
* pil/Docs/pythondoc-PIL.ImageFile.html: Renamed from
  pil/Docs/PIL.ImageFile.html.
* pil/Docs/pythondoc-PIL.ImageFileIO.html: Renamed from
  pil/Docs/PIL.ImageFileIO.html.
* pil/Docs/pythondoc-PIL.ImageFilter.html: Renamed from
  pil/Docs/PIL.ImageFilter.html.
* pil/Docs/pythondoc-PIL.ImageFont.html: Renamed from
  pil/Docs/PIL.ImageFont.html.
* pil/Docs/pythondoc-PIL.ImageGrab.html: Renamed from
  pil/Docs/PIL.ImageGrab.html.
* pil/Docs/pythondoc-PIL.ImageOps.html: Renamed from
  pil/Docs/PIL.ImageOps.html.
* pil/Docs/pythondoc-PIL.ImageSequence.html: Renamed from
  pil/Docs/PIL.ImageSequence.html.
* pil/Docs/pythondoc-PIL.ImageStat.html: Renamed from
  pil/Docs/PIL.ImageStat.html.
* pil/Docs/pythondoc-PIL.ImageTk.html: Renamed from
  pil/Docs/PIL.ImageTk.html.
* pil/Docs/pythondoc-PIL.ImageTransform.html: Renamed from
  pil/Docs/PIL.ImageTransform.html.
* pil/Docs/pythondoc-PIL.ImageWin.html: Renamed from
  pil/Docs/PIL.ImageWin.html.
* pil/Docs/pythondoc-PIL.ImImagePlugin.html: Renamed from
  pil/Docs/PIL.ImImagePlugin.html.
* pil/Docs/pythondoc-PIL.ImtImagePlugin.html: Renamed from
  pil/Docs/PIL.ImtImagePlugin.html.
* pil/Docs/pythondoc-PIL.IptcImagePlugin.html: Renamed from
  pil/Docs/PIL.IptcImagePlugin.html.
* pil/Docs/pythondoc-PIL.JpegImagePlugin.html: Renamed from
  pil/Docs/PIL.JpegImagePlugin.html.
* pil/Docs/pythondoc-PIL.McIdasImagePlugin.html: Renamed from
  pil/Docs/PIL.McIdasImagePlugin.html.
* pil/Docs/pythondoc-PIL.MicImagePlugin.html: Renamed from
  pil/Docs/PIL.MicImagePlugin.html.
* pil/Docs/pythondoc-PIL.MpegImagePlugin.html: Renamed from
  pil/Docs/PIL.MpegImagePlugin.html.
* pil/Docs/pythondoc-PIL.MspImagePlugin.html: Renamed from
  pil/Docs/PIL.MspImagePlugin.html.
* pil/Docs/pythondoc-PIL.PaletteFile.html: Renamed from
  pil/Docs/PIL.PaletteFile.html.
* pil/Docs/pythondoc-PIL.PcdImagePlugin.html: Renamed from
  pil/Docs/PIL.PcdImagePlugin.html.
* pil/Docs/pythondoc-PIL.PcfFontFile.html: Renamed from
  pil/Docs/PIL.PcfFontFile.html.
* pil/Docs/pythondoc-PIL.PcxImagePlugin.html: Renamed from
  pil/Docs/PIL.PcxImagePlugin.html.
* pil/Docs/pythondoc-PIL.PixarImagePlugin.html: Renamed from
  pil/Docs/PIL.PixarImagePlugin.html.
* pil/Docs/pythondoc-PIL.PngImagePlugin.html: Renamed from
  pil/Docs/PIL.PngImagePlugin.html.
* pil/Docs/pythondoc-PIL.PpmImagePlugin.html: Renamed from
  pil/Docs/PIL.PpmImagePlugin.html.
* pil/Docs/pythondoc-PIL.PsdImagePlugin.html: Renamed from
  pil/Docs/PIL.PsdImagePlugin.html.
* pil/Docs/pythondoc-PIL.SgiImagePlugin.html: Renamed from
  pil/Docs/PIL.SgiImagePlugin.html.
* pil/Docs/pythondoc-PIL.SunImagePlugin.html: Renamed from
  pil/Docs/PIL.SunImagePlugin.html.
* pil/Docs/pythondoc-PIL.TarIO.html: Renamed from
  pil/Docs/PIL.TarIO.html.
* pil/Docs/pythondoc-PIL.TgaImagePlugin.html: Renamed from
  pil/Docs/PIL.TgaImagePlugin.html.
* pil/Docs/pythondoc-PIL.TiffImagePlugin.html: Renamed from
  pil/Docs/PIL.TiffImagePlugin.html.
* pil/Docs/pythondoc-PIL.WalImageFile.html: Renamed from
  pil/Docs/PIL.WalImageFile.html.
* pil/Docs/pythondoc-PIL.WmfImagePlugin.html: Renamed from
  pil/Docs/PIL.WmfImagePlugin.html.
* pil/Docs/pythondoc-PIL.XbmImagePlugin.html: Renamed from
  pil/Docs/PIL.XbmImagePlugin.html.
* pil/Docs/pythondoc-PIL.XpmImagePlugin.html: Renamed from
  pil/Docs/PIL.XpmImagePlugin.html.
* pil/Docs/pythondoc-PIL.XVThumbImagePlugin.html: Renamed from
  pil/Docs/PIL.XVThumbImagePlugin.html.
* pil/Docs/effbot.css: Renamed from pil/Docs/pythondoc.css.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><title>Module PIL.ImageWin</title><link href="pythondoc.css" rel="stylesheet" title="style" /></head><body><h1>Module PIL.ImageWin</h1><h4>Module Summary:</h4><pre><a href="#47">class Dib</a>:
 
2
    def __init__(self, image, size=None)</pre><blockquote>Create a Windows bitmap with the given mode and size.</blockquote><pre><a href="#23">class HDC</a>:
 
3
    def __init__(self)</pre><blockquote>The ImageWin module contains support to create and display
 
4
images under Windows 95/98, NT, 2000 and later.</blockquote><h2>Classes</h2><div class="class" id="47"><h3>The Dib Class</h3><pre>Dib()</pre><p>Create a Windows bitmap with the given mode and size.  The mode can
 
5
be one of "1", "L", "P", or "RGB".
 
6
 
 
7
If the display requires a palette, this constructor creates a
 
8
suitable palette and associates it with the image. For an "L" image,
 
9
128 greylevels are allocated. For an "RGB" image, a 6x6x6 colour
 
10
cube is used, together with 20 greylevels.
 
11
 
 
12
To make sure that palettes work properly under Windows, you must
 
13
call the <b>palette</b> method upon certain events from Windows.
 
14
</p></div><h4>Constructor:</h4><div class="constructor" id="58"><pre>Dib(image, size=None)</pre><p>Create Windows bitmap.
 
15
 
 
16
</p><h4>Parameters:</h4><p><code>image</code> -- Either a PIL image, or a mode string.  If a
 
17
   mode string is used, a size must also be given.  The
 
18
   mode can be one of "1", "L", "P", or "RGB".
 
19
</p><p><code>size</code> -- If the first argument is a mode string, this
 
20
   defines the size of the image.
 
21
</p></div><h4>Method Summary:</h4><pre><a href="#81">expose(handle)</a></pre><blockquote>Copy the bitmap contents to a device context.</blockquote><pre><a href="#141">paste(im, box=None)</a></pre><blockquote>Paste a PIL image into the bitmap image.</blockquote><pre><a href="#120">query_palette(dc)</a></pre><blockquote>Installs the palette associated with the image in the
 
22
given device context.</blockquote><div class="method" id="81"><h3>expose</h3><pre>expose(handle)</pre><p>Copy the bitmap contents to a device context.
 
23
 
 
24
</p><h4>Parameters:</h4><p><code>handle</code> -- Device context (HDC), cast to a Python integer,
 
25
   or a HDC or HWND instance.  In PythonWin, you can use the
 
26
   <b>GetHandleAttrib</b> method of the <b>CDC</b> class to get
 
27
   a suitable handle.
 
28
</p></div><div class="method" id="141"><h3>paste</h3><pre>paste(im, box=None)</pre><p>Paste a PIL image into the bitmap image.
 
29
 
 
30
</p><h4>Parameters:</h4><p><code>im</code> -- A PIL image.  The size must match the target region.
 
31
   If the mode does not match, the image is converted to the
 
32
   mode of the bitmap image.
 
33
</p><p><code>box</code> -- A 4-tuple defining the left, upper, right, and
 
34
   lower pixel coordinate.  If None is given instead of a
 
35
   tuple, all of the image is assumed.
 
36
</p></div><div class="method" id="120"><h3>query_palette</h3><pre>query_palette(dc)</pre><p>Installs the palette associated with the image in the
 
37
given device context.
 
38
</p><p>
 
39
This method should be called upon <b>QUERYNEWPALETTE</b>
 
40
and <b>PALETTECHANGED</b> events from Windows. If this
 
41
method returns a non-zero value, one or more display
 
42
palette entries were changed, and the image should be
 
43
redrawn.
 
44
 
 
45
</p><h4>Parameters:</h4><p><code>dc</code> -- Device context (HDC), cast to a Python integer,
 
46
    or an HDC or HWND instance.
 
47
</p><h4>Returns:</h4><p>A true value if one or more entries were changed
 
48
   (this indicates that the image should be redrawn).
 
49
</p></div><div class="class" id="23"><h3>The HDC Class</h3><pre>HDC()</pre><p>The <b>ImageWin</b> module contains support to create and display
 
50
images under Windows 95/98, NT, 2000 and later.
 
51
</p></div></body></html>
 
 
b'\\ No newline at end of file'