New
Release 4.0.0
Breaking
- Android: Support
ExifInterface.TAG_ORIENTATIONwhile cropping https://github.com/callstack/react-native-image-editor/pull/133 - Fallback to
jpegif can not determinate MIME type https://github.com/callstack/react-native-image-editor/pull/135 - Use
quality: 0.9as default value (was: Web/iOS: 1, Android: 0.9) https://github.com/callstack/react-native-image-editor/pull/137 - Use
resizeMode : coveras default value (now iOS:contain, Android:cover) https://github.com/callstack/react-native-image-editor/pull/139 - Return an object with metadata
{size,uri,path,name,width,height,type,base64}instead ofuri: stringhttps://github.com/callstack/react-native-image-editor/pull/140
Added
- Add a
base64output https://github.com/callstack/react-native-image-editor/pull/144 - Add a possibility to change format of the resulting image.
format: 'jpeg' | 'png' | 'webp'https://github.com/callstack/react-native-image-editor/pull/135
Fixed
- Restore a
resizeModelogic after New Arch update on iOS https://github.com/callstack/react-native-image-editor/pull/138
npm diff: 3.2.0...4.0.0