react-native-compressor icon indicating copy to clipboard operation
react-native-compressor copied to clipboard

🗜️Compress Image, Video, and Audio same like Whatsapp 🚀✨

Results 109 react-native-compressor issues
Sort by recently updated
recently updated
newest added

### Current behavior Whenever I compress an image taken straight from the camera (in portrait mode) the image gets rotated 90 degrees counter-clockwise after compressed. This happens on the physical...

### Current behavior When trying to compress an image from URI or base64 an error is thrown. `[Error: width and height must be > 0]` ### Expected behavior To be...

### Current behavior Video compressing fine but when I try to upload on server, request data is empty but in response I am getting {status:200} ### Expected behavior File should...

### Current behavior > Task :react-native-compressor:processDebugAndroidTestManifest FAILED [androidx.vectordrawable:vectordrawable-animated:1.0.0] gradle/caches/transforms-3/e8993eee9d2f3584d876c5e91e68dd57/transformed/vectordrawable-animated-1.0.0/AndroidManifest.xml Warning: Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.1. node_modules/react-native-compressor/android/build/intermediates/tmp/manifest/androidTest/debug/manifestMerger5707189767476219992.xml:5:5-74 Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library...

### Current behavior Application crashes without any logs when calling Video.compress getVideoMetaData runs fine ### Expected behavior It does not ### Platform - [ ] Android - [X] iOS -...

### Current behavior When loading an app via **Expo Go**, the following error occurs: ``` Invariant Violation: "main" has not been registered. This can happen if: * Metro (the local...

LOG {"error": [Error: null]} compression error This is my code : const dstUrl = await Video.compress( sourceVideo, { compressionMethod: 'auto', // minimumFileSizeForCompress: 5, // maxSize: 1000, minimumFileSizeForCompress:1 }, (progress) =>...

### Current behavior My current code: ``` const res = await DocumentPicker.pickSingle({ type: [DocumentPicker.types.images], }) let realPath = await getRealPath(res.uri, "image") const result = await ImageCompressor.compress(realPath, { compressionMethod: "auto", })...

![error](https://user-images.githubusercontent.com/49604960/170499171-736d6443-43e7-4642-a9fc-317b0f08961f.jpeg) async renderFileUriForVideo() { if (this.state.fileUriForVideo) { const result = await Video.compress( this.state.fileUriForVideo, { compressionMethod: 'auto', }, progress => { if (backgroundMode) { console.log('Compression Progress: ', progress); } else {...

### Current behavior When uploading video, it only uploads in background. when i try in foreground, it start uploading then restarts. basically it works in background but not in foreground....