image
pdwidgets.widgets.image
Raster image widget.
Image(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=None, padding=None, chroma=None)
Bases: Widget
Raster image widget (.pbm or BMP565 .bmp).
Raster image widget (.pbm or BMP565 .bmp), same loaders as Icon.
Use for logos / gallery frames that are not tiny monochrome icons.
When value is None, a solid bg placeholder rect is drawn.
changed()
Invalidate after the image path changes.
draw(_=None)
Blit the image or a placeholder rectangle.