mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-27 17:23:18 +03:00
Changed lines to be below 80 characters
This commit is contained in:
parent
a9efd7ad98
commit
674515d568
|
@ -152,7 +152,8 @@ class PILDriver(object):
|
||||||
self.push(Image.composite(image1, image2, mask))
|
self.push(Image.composite(image1, image2, mask))
|
||||||
|
|
||||||
def do_merge(self):
|
def do_merge(self):
|
||||||
"""usage: merge <string:mode> <image:pic1> [<image:pic2> [<image:pic3> [<image:pic4>]]]
|
"""usage: merge <string:mode> <image:pic1>
|
||||||
|
[<image:pic2> [<image:pic3> [<image:pic4>]]]
|
||||||
|
|
||||||
Merge top-of stack images in a way described by the mode.
|
Merge top-of stack images in a way described by the mode.
|
||||||
"""
|
"""
|
||||||
|
@ -181,7 +182,8 @@ class PILDriver(object):
|
||||||
self.dup()
|
self.dup()
|
||||||
|
|
||||||
def do_crop(self):
|
def do_crop(self):
|
||||||
"""usage: crop <int:left> <int:upper> <int:right> <int:lower> <image:pic1>
|
"""usage: crop <int:left> <int:upper> <int:right> <int:lower>
|
||||||
|
<image:pic1>
|
||||||
|
|
||||||
Crop and push a rectangular region from the current image.
|
Crop and push a rectangular region from the current image.
|
||||||
"""
|
"""
|
||||||
|
@ -243,7 +245,8 @@ class PILDriver(object):
|
||||||
self.push(image.offset(xoff, yoff))
|
self.push(image.offset(xoff, yoff))
|
||||||
|
|
||||||
def do_paste(self):
|
def do_paste(self):
|
||||||
"""usage: paste <image:figure> <int:xoffset> <int:yoffset> <image:ground>
|
"""usage: paste <image:figure> <int:xoffset> <int:yoffset>
|
||||||
|
<image:ground>
|
||||||
|
|
||||||
Paste figure image into ground with upper left at given offsets.
|
Paste figure image into ground with upper left at given offsets.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -6,7 +6,8 @@ iterations = 5000
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
When run on a system without the jpeg leak fixes, the valgrind runs look like this.
|
When run on a system without the jpeg leak fixes,
|
||||||
|
the valgrind runs look like this.
|
||||||
|
|
||||||
NOSE_PROCESSES=0 NOSE_TIMEOUT=600 valgrind --tool=massif \
|
NOSE_PROCESSES=0 NOSE_TIMEOUT=600 valgrind --tool=massif \
|
||||||
python test-installed.py -s -v Tests/check_jpeg_leaks.py
|
python test-installed.py -s -v Tests/check_jpeg_leaks.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user