png-compressor
    Preparing search index...

    Interface IEncodedPng

    interface IEncodedPng {
        data: Uint8Array;
        info: string[];
        warnings: EncodeWarning[];
    }
    Index

    Properties

    Properties

    info: string[]

    Any informational messages when encoding. These are things of note but not important enough to be a warning.

    warnings: EncodeWarning[]

    Any warnings that were encountered during encoding. Warnings typically fall into the following categories:

    • An explicitly provided color type must be changed in order to encode the image (eg. specifying Truecolor but having more than one transparent pixel).

    Strict mode can be enabled via IEncodePngOptions.strictMode which will throw an error when any warning is encountered.