SheetXL - v1.0.2
    Preparing search index...

    Interface ImageJSON

    An image fill: a workbook resource stretched over the shape or tiled across it.

    resId names the resource the way IPicture.JSON.resId names a placed picture's image and, like it, is meaningful only inside the persist scope the JSON was made in. A shape resolves it to the resource when it is created and names the resource again when it is serialized.

    interface ImageJSON {
        compressionState?: string;
        dpi?: number;
        extLst?: string;
        imageEffects?: string;
        isRotatedWithShape?: boolean;
        resId?: number;
        sourceRect?: RectInsets;
        stretch?: RectInsets;
        tile?: ImageTileProperties;
        type: "image";
    }

    Hierarchy (View Summary)

    Index
    compressionState?: string

    The compression the image was stored for (blip/@cstate): email, screen, print, hqprint, none.

    dpi?: number

    The resolution the image is rendered at, in dots per inch (dpi); 0 for the image's own.

    extLst?: string

    blip/extLst as the file states it: an opaque DrawingML fragment, written back as it was.

    imageEffects?: string

    The adjustments applied to the image itself, as the file states them: the blip's effect children (lum for brightness and contrast, grayscl, clrChange for a transparent color, alphaModFix for transparency, biLevel, duotone, …) as one opaque DrawingML fragment, written back as it was. Not rendered.

    isRotatedWithShape?: boolean
    resId?: number

    The resource id of the image.

    sourceRect?: RectInsets

    The part of the image used (srcRect), as insets from its edges. Absent for the whole image.

    stretch?: RectInsets

    The image is stretched to a rectangle inset from the shape's bounds (stretch/fillRect); {} for the whole shape. Absent when the image is tiled.

    The image is tiled (tile). Absent when it is stretched.

    type: "image"