How to compress image in javascript
Hello, How i can compress image and upload it by javascript react-native?
-
Hi Sajad,
Please take a look at this question: https://support.cloudinary.com/hc/en-us/community/posts/360014907732-Direct-upload-from-mobile-app
There are examples there for uploading images from React. Once the image is in your Cloudinary account, all of our transformations can be used, many of which will lower the image or file size, depending on your requirements.
For transforming your images and displayed optimized versions in your app, you can use our React SDK.In addition to the documentation, there are sample projects which demonstrate using the SDK to retrieve transformed versions of your images from Cloudinary.
Please sign in to leave a comment.
Comments
1 comment