mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add doc for transparent_binary image type (#1796)
This commit is contained in:
parent
021272ecee
commit
5060264b1b
@ -507,6 +507,8 @@ Configuration variables:
|
|||||||
per pixel, 8 pixels per byte.
|
per pixel, 8 pixels per byte.
|
||||||
- ``GRAYSCALE``: Full scale grey. Uses 8 bits per pixel, 1 pixel per byte.
|
- ``GRAYSCALE``: Full scale grey. Uses 8 bits per pixel, 1 pixel per byte.
|
||||||
- ``RGB24``: Full RGB color stored. Uses 3 bytes per pixel.
|
- ``RGB24``: Full RGB color stored. Uses 3 bytes per pixel.
|
||||||
|
- ``TRANSPARENT_BINARY``: One color, any pixel that is fully transparent will not be drawn, and any other pixel
|
||||||
|
will be the on color. Uses 1 bit per pixel, 8 pixels per byte.
|
||||||
|
|
||||||
- **dither** (*Optional*): Specifies which dither method used to process the image, only used in GRAYSCALE and BINARY type image. Defaults to ``NONE``. You can read more about it `here <https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=Dither#PIL.Image.Image.convert>`__ and `here <https://en.wikipedia.org/wiki/Dither>`__.
|
- **dither** (*Optional*): Specifies which dither method used to process the image, only used in GRAYSCALE and BINARY type image. Defaults to ``NONE``. You can read more about it `here <https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=Dither#PIL.Image.Image.convert>`__ and `here <https://en.wikipedia.org/wiki/Dither>`__.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user