react-native-image-resizer
                                
                                 react-native-image-resizer copied to clipboard
                                
                                    react-native-image-resizer copied to clipboard
                            
                            
                            
                        What critery should i use to compress an image?
My doubt is the next one. My team and I build an app where the user can upload 10 photos if he want. But the problem was that the action to upload photos took a long time. So we decided to modify the quality to 0.6 and we also have implemented the library react-native-image-resizer. With this the performance grew a lot. With the library we do something like this: newWidth = originalPhotoWidth/5 and newHeight = originalPhotoHeight/5. But my question is.. Is this the best way to compress an image? The space reduce from 5mb to 200kb in high definition photos. But really i don´t know if this is the best way, we didn´t use much critery to do it. Is there a good way to compress an image a lot only using react-native-camera? And What critery should i use to compress an image?