Skip to content
Snippets Groups Projects
Commit 6e09e04f authored by Marco De Donno's avatar Marco De Donno
Browse files

Doc update

parent 4b20601c
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ def RAWToPIL( raw, size = ( 500, 500 ), res = None ):
Convert a RAW string to PIL object. If the resolution is passed in
argument, the PIL object resolution is set.
>>> RAWToPIL( chr( 255 ) * 250000, ( 500, 500 ) ) #doctest: +ELLIPSIS
>>> RAWToPIL( chr( 255 ) * 250000, ( 500, 500 ) ) # doctest: +ELLIPSIS
<PIL.Image.Image image mode=L size=500x500 at 0x...>
"""
img = Image.frombytes( 'L', size, raw )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment