Skip to content

[Request] document for Piu ImageBuffer #1653

Description

@stc1988

piu.md explain how to display bundled image resources with Image, but ImageBuffer does not seem to be documented in piu.md.

ImageBuffer is useful when displaying image data obtained at runtime, for example camera frames or downloaded/decoded JPEG artwork. In those cases the image is not a Resource, so Image is not the right fit.

It would be helpful to add a short ImageBuffer section covering:

  • when to use ImageBuffer
  • required fields such as imageWidth and imageHeight
  • setting buffer to update the displayed image
  • a small example, possibly based on examples/io/imagein/camera/camera-test/main.js

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions