react-native-image-resizer icon indicating copy to clipboard operation
react-native-image-resizer copied to clipboard

Why my pictures can not be compressed?

Open qqdayan opened this issue 6 years ago • 3 comments

Why my pictures can not be compressed,my code 1525950614 1

qqdayan avatar May 10 '18 11:05 qqdayan

i have some problem. You fix this?

temiklis avatar Jun 07 '18 09:06 temiklis

@qqdayan Some error message ?

fcostaprojects avatar Jul 02 '18 20:07 fcostaprojects

@qqdayan @fcostaprojects - I believe response holds the uri you are looking for. Here is my code:

ImageResizer.createResizedImage(imagePath, 100, 100, 'JPEG', 5)
          .then(({uri}) => {
            setImage(uri);
          })
          .catch(err => {
            console.log(err);
          });

ilibilibom avatar Dec 16 '19 13:12 ilibilibom

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 01 '22 19:09 stale[bot]

This issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Sep 09 '22 03:09 stale[bot]