compressorjs icon indicating copy to clipboard operation
compressorjs copied to clipboard

JavaScript image compressor.

Results 18 compressorjs issues
Sort by recently updated
recently updated
newest added

I'm just curious how to specify if a file or a blob is returned upon success? This is how I'm using it: ``` export async function compress(file, quality, maxHeight, maxWidth)...

enhancement

**Is your feature request related to a problem? Please describe.** I want to use it in react native

**Describe the bug** IOS照片上传部分手机机型还是会出现照片翻转的情况,iphone8 版本13.5.1

**Describe the bug** Can't find variable: Image at node_modules/compressorjs/dist/compressor.js:696:10 in init React Native using expo i passed a blob as following: ![Screenshot from 2021-10-11 11-03-21](https://user-images.githubusercontent.com/34894866/136772224-73e1b641-98cd-4989-b927-5d6f5a565788.png)

That solves the time issue, but you are not able to display the image correctly orientated, is it possible to reduce the time without losing the orientation? _Originally posted by...

enhancement

**Describe the bug** i am trying to compress image with following code but size of compressed image is same as the original image new Compressor(fileUploaded, { quality: 0.6, success: (compressedResult)...

**Summary** **What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [x] Feature - [ ] Code style update - [ ] Refactor...

**Is your feature request related to a problem? Please describe.** Is there a way to compress the image but keep Exif metadata like gps coordinates?

![image](https://user-images.githubusercontent.com/48085094/184282464-688f7cd4-8b48-457c-85c2-7fb1ecfa6bc1.png) When I upload an RcFile, there comes an error that my input file is not a Blob object. Source code in 'index.js' looks like this.