pdfrx_web
    Preparing search index...

    Interface PdfRawImage

    Already-decoded image pixels. Provide these directly when the runtime cannot decode the format on its own (e.g. Node, which has no createImageBitmap), or to skip decoding when you already hold raw pixels.

    interface PdfRawImage {
        format?: PdfPixelFormat;
        height: number;
        pixels: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        width: number;
    }
    Index

    Byte order of pixels. Default 'rgba8888' (what a canvas produces).

    height: number

    Pixel height of the bitmap.

    pixels: ArrayBuffer | Uint8Array<ArrayBufferLike>

    Tightly packed pixels, width * height * 4 bytes.

    width: number

    Pixel width of the bitmap.