Decoded byte pixels with an explicit channel axis.
Signature
type ImageFrame { pixels: Tensor[u8]; }Pixels have shape [height, width, channels], with 1, 3 or 4 channels for Gray, RGB or RGBA. Construction uses the SDK Image validator. Channel order follows the last axis; this value contains no encoded file or device handle.
Fields
Examples
Construct ImageFrame
Inspect the typed payload and metadata.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
[1, 1, 4]
Rust definition
A checked language record delegating decoded media validation to konjure_sdk::data.
View Rust documentation →Support: runtime