react-native-compressor
react-native-compressor copied to clipboard
🗜️Compress Image, Video, and Audio same like Whatsapp 🚀✨
Great. This library is very useful. I found that it takes about 20 seconds to compress a large video of 100M, which is very bad for users.
### Current behavior When canceling one compression with specific id all active compressions are being cancelled ### Expected behavior Only specified one should be cancelled ### Platform - [X] Android...
### Current behavior example: const imageStr = `data:image/png;base64,iVBORw0KGgoAAAANS==` or 'iVBORw0KGgoAAAANS=='; const result = await Image.compress(imageStr, { input:'base64', maxWidth: 1500, maxHeight: 1500, quality: 0.8 }); console.log('result:', result); problem: I found that...
### Current behavior I seem to be having issues compressing videos recorded on iPhone 16 Pro and 16 Pro Max devices that are in the high efficiency setting for capturing...
### Current behavior After the compression process metadata will be lost. ### Expected behavior Please add a way to keep the original metadata after the compression. ### Platform - [X]...
### Current behavior When compressing a video, compression fails and errors out ### Expected behavior Video should be compressed ### Platform - [X] Android ### React Native Version 0.73.7 ###...
I am using the library to compress both videos and images. The compression behaviour is very inconsistent. Same image of size 2.10MB is compressed to 0.2MB sometimes, 1MB sometimes, and...
## Summary When React Compiler is enabled, there is a circular dependency issue causing `uuidv4` to be `undefined` during background uploads. This PR resolves it by moving the `uuidv4` utility...
### Current behavior ### Expected behavior ### Platform - [X] Android - [X] iOS ### React Native Version ### React Native Compressor Version ### Reproducible Steps And Demo Hello I...