~ubuntu-branches/ubuntu/wily/python-imaging/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
===========================
The PIL.ImageEnhance Module
===========================

The PIL.ImageEnhance Module
===========================

**Brightness(image)** (class)
[`# <#PIL.ImageEnhance.Brightness-class>`_]
    Brightness enhancement object.

    For more information about this class, see `*The Brightness
    Class* <#PIL.ImageEnhance.Brightness-class>`_.

**Color(image)** (class) [`# <#PIL.ImageEnhance.Color-class>`_]
    Color enhancement object.

    For more information about this class, see `*The Color
    Class* <#PIL.ImageEnhance.Color-class>`_.

**Contrast(image)** (class) [`# <#PIL.ImageEnhance.Contrast-class>`_]
    Contrast enhancement object.

    For more information about this class, see `*The Contrast
    Class* <#PIL.ImageEnhance.Contrast-class>`_.

**Sharpness(image)** (class) [`# <#PIL.ImageEnhance.Sharpness-class>`_]
    Sharpness enhancement object.

    For more information about this class, see `*The Sharpness
    Class* <#PIL.ImageEnhance.Sharpness-class>`_.

The Brightness Class
--------------------

**Brightness(image)** (class)
[`# <#PIL.ImageEnhance.Brightness-class>`_]
    Brightness enhancement object.

    This class can be used to control the brighntess of an image. An
    enhancement factor of 0.0 gives a black image, factor 1.0 gives the
    original image.

The Color Class
---------------

**Color(image)** (class) [`# <#PIL.ImageEnhance.Color-class>`_]
    Color enhancement object.

    This class can be used to adjust the colour balance of an image, in
    a manner similar to the controls on a colour TV set. An enhancement
    factor of 0.0 gives a black and white image, a factor of 1.0 gives
    the original image.

The Contrast Class
------------------

**Contrast(image)** (class) [`# <#PIL.ImageEnhance.Contrast-class>`_]
    Contrast enhancement object.

    This class can be used to control the contrast of an image, similar
    to the contrast control on a TV set. An enhancement factor of 0.0
    gives an solid grey image, factor 1.0 gives the original image.

The Sharpness Class
-------------------

**Sharpness(image)** (class) [`# <#PIL.ImageEnhance.Sharpness-class>`_]
    Sharpness enhancement object.

    This class can be used to adjust the sharpness of an image. The
    enhancement factor 0.0 gives a blurred image, 1.0 gives the original
    image, and a factor of 2.0 gives a sharpened image.