Closed luchenn closed 4 years ago
If the file's original size is less than 200KB, it will not be compressed and can not control the result of final compression.
My file size 5060 it can't be compressed to 800 ?
Sorry, it doesn't seem to work. Compression is automatic according to the quality provided
So, Can't compress at all?
If you set compressquality to 90, it may be about 500kb, but it is not a certain size. You can test it. Please note that setting width and height may affect compression
ImagePicker.openPicker({ multiple: true, waitAnimationEnd: false, includeExif: false, isCamera: true, multipleShot: true, maxSize: 12, compressQuality: 1, minCompressSize: 200, }).then(...
The result images is expected to be at least 200kb, but it is much smaller than that.