omni-compress - v2.3.1
    Preparing search index...

    Interface CompressResult

    The result of a v2.0 compression call. Replaces the raw Blob return from v1.x.

    interface CompressResult {
        blob: Blob;
        originalSize: number;
        compressedSize: number;
        ratio: number;
        format: string;
    }
    Index

    Properties

    blob: Blob

    The compressed output blob, ready to save or upload.

    originalSize: number

    Size of the input file in bytes.

    compressedSize: number

    Size of the output blob in bytes.

    ratio: number

    compressedSize / originalSize — values below 1.0 indicate actual compression.

    format: string

    The target format that was used (e.g. 'webp', 'opus').