Drawing Images in the Blender UI (Properties)

Please help me, how can I draw a image with alpha channel in the Blender UI (Properties), is it possible? What I have tried:

  1. If I use layout.template_preview, there’s resize control (of the image bottom) and I have black background.
  2. If I use layout.template_icon_view, I get an empty combobox with image.
  3. If I bpy.types.SpaceProperties.draw_handler_add, seems like there’s no way to find out position and size of a specific control, only region position & size.
1 Like