| 61 | /// Decoded RGBA image data. |
| 62 | #[napi(object, js_name = "ImageData")] |
| 63 | pub 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)] |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…