Update shared-bindings/bitmapfilter/__init__.c

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
This commit is contained in:
Jeff Epler 2024-01-17 21:19:42 -06:00 committed by GitHub
parent 2e9e3fe3ab
commit 0e1908ffa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,8 +45,8 @@
//| """Convolve an image with a kernel
//|
//| The ``bitmap``, which must be in RGB565_SWAPPED format, is modified
//| according to the ``weights``. Then a scaling factor ``m`` and an
//| offset factor ``b`` are applied.
//| according to the ``weights``. Then a scaling factor ``mul`` and an
//| offset factor ``add`` are applied.
//|
//| The ``weights`` must be a tuple of integers. The length of the tuple
//| must be the square of an odd number, usually 9 and sometimes 25.