MCPcopy Create free account
hub / github.com/neplextech/vectorizer / JsImageData

Class JsImageData

src/types.rs:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61/// Decoded RGBA image data.
62#[napi(object, js_name = "ImageData")]
63pub struct JsImageData {
64 /// Image width in pixels.
65 pub width: u32,
66 /// Image height in pixels.
67 pub height: u32,
68 /// RGBA pixel data with four bytes per pixel.
69 pub pixels: Buffer,
70}
71
72/// RGBA color value.
73#[derive(Clone, PartialEq, Eq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…