png-compressor
    Preparing search index...

    Interface IPngChunk

    A raw png chunk extracted from the datastream. A png is made up of a fixed signature and then a series of chunks which encode all the information in the png. The IPngChunk.type of the chunk determines what information it contains.

    interface IPngChunk {
        dataLength: number;
        isAncillary: boolean;
        isPrivate: boolean;
        isSafeToCopy: boolean;
        offset: number;
        type: string;
    }
    Index

    Properties

    dataLength: number

    The length of the chunk's data (starts from offset + 8B).

    isAncillary: boolean

    Whether the chunk is optionally interpreted (as opposed to critical).

    isPrivate: boolean

    Whether the chunk is private and not defined in the standard.

    isSafeToCopy: boolean

    Whether this chunk is safe to copy into a new image if unrecognized.

    offset: number

    The offset of the beginning of the chunk

    type: string

    The type of the chunk.