tinyimg - v1.0.0
    Preparing search index...

    Variable ErrConst

    Err: {
        blobMissing: -11;
        bounds: -3;
        bufferTooSmall: -10;
        corrupt: -8;
        memory: -4;
        noChannel: -12;
        notFound: -13;
        null: -1;
        ok: 0;
        plan: -14;
        range: -2;
        tooLarge: -5;
        unknownFormat: -6;
        unsupportedCodec: -7;
        unsupportedVariant: -9;
    } = ...

    Error codes, mirroring enum TinyImageError.

    Type Declaration

    • ReadonlyblobMissing: -11

      A font, profile or cascade nobody has loaded.

    • Readonlybounds: -3

      Coordinates or a rectangle fell outside the image.

    • ReadonlybufferTooSmall: -10

      The output buffer was too small.

    • Readonlycorrupt: -8

      The bitstream is malformed, truncated or inconsistent.

    • Readonlymemory: -4

      The allocator could not satisfy a request.

    • ReadonlynoChannel: -12

      The image has no channel the operation needs.

    • ReadonlynotFound: -13

      The requested key or metadata entry does not exist.

    • Readonlynull: -1

      A required pointer argument was NULL.

    • Readonlyok: 0

      The call succeeded.

    • Readonlyplan: -14

      The plan is full, or holds an operation it cannot combine.

    • Readonlyrange: -2

      An argument was outside its documented range.

    • ReadonlytooLarge: -5

      The image exceeds the pixel budget; reach for a scaled decode.

    • ReadonlyunknownFormat: -6

      The buffer matched no format tinyimg recognizes.

    • ReadonlyunsupportedCodec: -7

      Recognized, and this build cannot decode or encode it.

    • ReadonlyunsupportedVariant: -9

      Supported format, unsupported variant of it.