Skip to content

Commit 1348e92

Browse files
committed
document the colorspace
1 parent db07775 commit 1348e92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared-bindings/jpegio/JpegDecoder.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ STATIC mp_obj_t jpegio_jpegdecoder_make_new(const mp_obj_type_t *type, size_t n_
5656
//|
5757
//| If ``bitmap`` is None, only the header is decoded.
5858
//| Otherwise, the bitmap must be large enough to contain the decoded image.
59+
//| The pixel data is stored in the `displayio.Colorspace.RGB565_SWAPPED` colorspace.
5960
//|
6061
//| The image is optionally downscaled by a factor of ``2**scale``.
6162
//| Scaling by a factor of 8 (scale=3) is particularly efficient in terms of decoding time.

0 commit comments

Comments
 (0)