Currently i can only compress by percentage, it would be nicer if i can resize (scale) the image.
to give a max width / height structure
const { path } = await FileCompressor.compressImage({
mimeType: 'image/jpeg',
width: 1000,
height: 1000,
path: 'content://com.android.providers.downloads.documents/document/msf%3A1000000485',
quality: 0.7,
});
No response
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too