prscX / react-native-photo-editor

React Native: Native Photo Editor
Apache License 2.0
1.12k stars 243 forks source link

How do I get the path of the edited image? #187

Open vladimendoza opened 3 years ago

vladimendoza commented 3 years ago

I would like to be able to save the edited image to some kind of state variable, how can I save this image, or rather what library function should I use so that this image is returned already edited?

vladimendoza commented 3 years ago

Hello?

mujuappsile commented 1 year ago

@Bladymendoza97 Hi... ! You will get edited image path in onDone callback function. hope you will get this

ItxAltaf commented 7 months ago

PhotoEditor.Edit({ path: image.path?.split('://')[1], hiddenControls:[ 'crop','save','clear'], onDone:(res)=>{ console.log('res', res)

    }