Skip to content

Size of compressed image is not follow the "maxSizeMB" options #226

Open
@Darrenwwk

Description

@Darrenwwk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions