tinyimg - v1.0.0
    Preparing search index...

    Interface ImageInfo

    What a decoded image is, without its pixels.

    interface ImageInfo {
        bitDepth: number;
        channels: number;
        format: ImageFormat | "unknown";
        frames: number;
        hasAlpha: boolean;
        height: number;
        progressive: boolean;
        width: number;
    }
    Index
    bitDepth: number

    Bits per channel in the file, before decoding normalizes them to 8.

    channels: number

    Channels a full decode would produce.

    format: ImageFormat | "unknown"

    The format the magic bytes identified.

    frames: number

    Frames the file holds; 1 for a still image.

    hasAlpha: boolean

    Whether the file carries transparency.

    height: number

    Height in pixels.

    progressive: boolean

    Whether this is a progressive JPEG, which cannot stream a region.

    width: number

    Width in pixels.