The compressed output blob, ready to save or upload.
Size of the input file in bytes.
Size of the output blob in bytes.
compressedSize / originalSize — values below 1.0 indicate actual compression.
The target format that was used (e.g. 'webp', 'opus').
A File object with the output blob content and a corrected filename extension.
null when the input was a plain Blob (no original filename).
OptionalqualityFinal encoder quality used (0.0–1.0). Set when maxSizeMB binary search
ran and converged. undefined for single-pass compressions.
The result of a v2.0 compression call. Replaces the raw
Blobreturn from v1.x.