We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const imageCompressionOptions = { maxSizeMB: 0.3, };
await imageCompression( imgBlob as File, imageCompressionOptions, );
If image size is more than 2mb then I might get 400kb or 500kb size of compressed image.