1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

[image]Rename option "use_transparency" (#8113)

This commit is contained in:
guillempages
2025-01-19 22:34:38 +01:00
committed by GitHub
parent 9e40d4cf45
commit 47a0ec467a
6 changed files with 31 additions and 33 deletions

View File

@@ -2,12 +2,12 @@ animation:
- id: rgb565_animation
file: $component_dir/anim.gif
type: RGB565
use_transparency: opaque
transparency: opaque
resize: 50x50
- id: rgb_animation
file: $component_dir/anim.apng
type: RGB
use_transparency: chroma_key
transparency: chroma_key
resize: 50x50
- id: grayscale_animation
file: $component_dir/anim.apng

View File

@@ -6,54 +6,54 @@ image:
- id: transparent_transparent_image
file: ../../pnglogo.png
type: BINARY
use_transparency: chroma_key
transparency: chroma_key
- id: rgba_image
file: ../../pnglogo.png
type: RGB
use_transparency: alpha_channel
transparency: alpha_channel
resize: 50x50
- id: rgb24_image
file: ../../pnglogo.png
type: RGB
use_transparency: chroma_key
transparency: chroma_key
- id: rgb_image
file: ../../pnglogo.png
type: RGB
use_transparency: opaque
transparency: opaque
- id: rgb565_image
file: ../../pnglogo.png
type: RGB565
use_transparency: opaque
transparency: opaque
- id: rgb565_ck_image
file: ../../pnglogo.png
type: RGB565
use_transparency: chroma_key
transparency: chroma_key
- id: rgb565_alpha_image
file: ../../pnglogo.png
type: RGB565
use_transparency: alpha_channel
transparency: alpha_channel
- id: grayscale_alpha_image
file: ../../pnglogo.png
type: grayscale
use_transparency: alpha_channel
transparency: alpha_channel
resize: 50x50
- id: grayscale_ck_image
file: ../../pnglogo.png
type: grayscale
use_transparency: chroma_key
transparency: chroma_key
- id: grayscale_image
file: ../../pnglogo.png
type: grayscale
use_transparency: opaque
transparency: opaque
- id: web_svg_image
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
resize: 256x48
type: BINARY
use_transparency: chroma_key
transparency: chroma_key
- id: web_tiff_image
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
type: RGB

View File

@@ -12,7 +12,7 @@ image:
dither: FloydSteinberg
- id: transparent_transparent_image
file: ../../pnglogo.png
use_transparency: chroma_key
transparency: chroma_key
rgb:
alpha_channel:
- id: rgba_image
@@ -28,21 +28,21 @@ image:
rgb565:
- id: rgb565_image
file: ../../pnglogo.png
use_transparency: opaque
transparency: opaque
- id: rgb565_ck_image
file: ../../pnglogo.png
use_transparency: chroma_key
transparency: chroma_key
- id: rgb565_alpha_image
file: ../../pnglogo.png
use_transparency: alpha_channel
transparency: alpha_channel
grayscale:
- id: grayscale_alpha_image
file: ../../pnglogo.png
use_transparency: alpha_channel
transparency: alpha_channel
resize: 50x50
- id: grayscale_ck_image
file: ../../pnglogo.png
use_transparency: chroma_key
transparency: chroma_key
- id: grayscale_image
file: ../../pnglogo.png
use_transparency: opaque
transparency: opaque

View File

@@ -14,18 +14,18 @@ online_image:
- id: online_binary_transparent_image
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
type: BINARY
use_transparency: chroma_key
transparency: chroma_key
format: png
- id: online_rgba_image
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
format: PNG
type: RGB
use_transparency: alpha_channel
transparency: alpha_channel
- id: online_rgb24_image
url: http://www.libpng.org/pub/png/img_png/pnglogo-blk-tiny.png
format: PNG
type: RGB
use_transparency: chroma_key
transparency: chroma_key
# Check the set_url action
esphome: