weasel API - v0.8.0
    Preparing search index...

    Interface RasterImage

    Plain RGBA raster — structurally ImageData-compatible ({ width, height, data }), deliberately free of printer/dpi/physical-unit concepts.

    interface RasterImage {
        data: Uint8ClampedArray;
        height: number;
        width: number;
    }
    Index

    Properties

    Properties

    data: Uint8ClampedArray

    Top-down, straight (non-premultiplied) RGBA, 4 bytes per pixel.

    height: number
    width: number