Show a picture
bar_imageShow a local, URL, or stock picture on a BUSY Bar display, automatically scaled to fit and dithered for the greyscale screen.
Instructions
Show a picture: a local file path or an http(s) URL (PNG; on macOS also JPEG, GIF, HEIC, WebP), or a stock image from bar_stock. It is scaled to fit max_width x max_height (the whole screen by default), uploaded, and dithered to 16 greys on the back. Pixel art in small files stays sharp when scaled up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| stock | No | Stock image name from bar_stock, e.g. dt_apple_red.image | |
| source | No | Path or URL of the picture | |
| urgent | No | Request higher draw priority. Use only when asked to interrupt. | |
| caption | No | ||
| display | No | front: 72x16 colour LED strip facing others. back: 160x80 greyscale (16 levels) OLED facing you. | front |
| max_width | No | ||
| max_height | No | ||
| caption_color | No | Hex colour, #RRGGBB |