Testing wanted for PR affecting image, online_image and animation components

I have raised a draft PR to update the image, online_image and animation components and would like as much testing as possible before it’s merged. The PR can be found here:

And the changes include:

A previous PR changed the transparency type for some images from chroma-key (where a specific color flags transparency) to alpha-channel (where an additional 8 bits per pixel encodes the opacity value.)

Now there is a choice available for which type of transparency is used. Full list of changes:

  1. use_transparency has options none, chroma_key and alpha_channel
  2. Image type is a required field - the previous default was BINARY which is often not what is expected;
  3. The RGBA and TRANSPARENT_BINARY types are removed, instead use RGB or BINARY with an appropriate setting for use_transparency
  4. online_image and animation code and schemas are streamlined and re-use image code where possible.
  5. The image code has been extensively refactored to facilitate maintenance.

Testing

This PR needs testing before release since it contains breaking changes. Please test by adding this to your yaml:

external_components:
  - source: github://pr#7908
    components: [image,online_image,animation]

And make necessary changes to configs as above (or per the error messages when building.)

Please report any problems as comments to this PR.