You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On compressing image with local path (eg: /Users/Desktop/checkImage.png), getting error on android like
Width and height must be > 0. In ios it is working fine
Current behavior
On compressing image with local path (eg: /Users/Desktop/checkImage.png), getting error on android like
Width and height must be > 0. In ios it is working fine
Expected behavior
Image need to be compressed.
Platform
React Native Version
0.73.6
React Native Compressor Version
^1.8.24
Reproducible Steps And Demo
useEffect(() => {
const fetchData = async() => {
try{
const result = await Image.compress('Users/Downloads/image.jpg', {
returnableOutputType: uri
})
console.log("Result", result)
}
catch (e){
console.log("Error", e)
}
fetchData()
},[])
The text was updated successfully, but these errors were encountered: