Skip to content

Commit e531c94

Browse files
committed
Document scale and GIF16
1 parent 2b9b9f0 commit e531c94

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stage.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ def lzw_decode(data, code_size):
262262

263263

264264
class GIF16:
265+
"""Read 16-color GIF files."""
266+
265267
def __init__(self, filename):
266268
self.filename = filename
267269

@@ -564,6 +566,10 @@ class Stage:
564566
display connected to the device.
565567
566568
The ``fps`` specifies the maximum frame rate to be enforced.
569+
570+
The ``scale`` specifies an optional scaling up of the display, to use
571+
2x2 or 3x3, etc. pixels. If not specified, it is inferred from the display
572+
size (displays wider than 256 pixels will have scale=2, for example).
567573
"""
568574
buffer = bytearray(512)
569575

0 commit comments

Comments
 (0)