frame_progressive_sprite_viewer 0.1.0 copy "frame_progressive_sprite_viewer: ^0.1.0" to clipboard
frame_progressive_sprite_viewer: ^0.1.0 copied to clipboard

Basic image and sprite viewer for Brilliant Labs Frame allowing for progressive rendering

Frame Progressive Sprite Viewer #

Basic image and sprite viewer for Brilliant Labs Frame.

Demonstrates TxImageSpriteBlock that splits the image into slices and sends smaller sprite lines, optionally allowing for progressive/incremental rendering and potentially a smaller peak memory requirement during packet assembly.

Frameshots #

JPG quantized and scaled to 4-bit sprite - custom palette

[JPG quantized and scaled to 4-bit sprite with custom palette]

1-bit sprite - default palette

[1-bit sprite]

2-bit sprite - default palette

[2-bit sprite]

4-bit sprite - default palette

[4-bit sprite]

Instructions #

  • Connect to Frame and start the application. Using the file picker, choose any PNG or JPG file from your device.
  • 1-bit, 2-bit or 4-bit indexed (palette) PNG files can be transferred directly. Sample sprites of each type are included in the assets/ directory, which you can download to your device.
  • General PNG and JPG images (e.g. photos from your camera) will be quantized to 16 colors and scaled to fit.
  • Images can use the Frame default palette to be displayed with correct colors alongside other Frame content, but if the palette is different (e.g. from a quantized image) it will be set on Frame for rendering, and will affect any subsequent draw calls for text or images.
  • Tools such as LibreSprite are useful for creating 1-, 2- and 4-bit images in specific palettes.
0
likes
115
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Basic image and sprite viewer for Brilliant Labs Frame allowing for progressive rendering

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

file_picker, flutter, image, logging, simple_frame_app

More

Packages that depend on frame_progressive_sprite_viewer