Skip to content

[feature request] keep the same width and height, and reduce the quality only #127

@GeekaholicLin

Description

@GeekaholicLin

Thanks for the awesome library for the image compression!

I noticed that the width/height of the image will be reduced to meet the maxSizeMB.

Is it possible to provide the option to keep the same width and height of the original image file and reduce the quality only?

https://github.com/Donaldcwl/browser-image-compression/blob/master/lib/image-compression.js#L95-L96

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions