react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
The image after crop has a white bottom border line
Version
- react-native-image-crop-picker v0.38.0
- react-native v0.66.4
Platform
- iOS
Expected behaviour
No bottom border line
Actual behaviour
The image after the crop has a white bottom border line
Steps to reproduce
ImagePicker.openPicker({
width: 975,
height: 545,
mediaType: 'photo',
forceJpg: true,
cropping: true,
includeBase64: true,
})
Attachments


Same issue here.
any update ?
I'm having this issue as well.
The bottom line is 2px high.
As a workaround, I added a cropping action with Expo Image Manipulator:
const imageResult = await ImageManipulator.manipulateAsync(
img.path,
[
{
crop: {
originX: 0,
originY: 0,
width: img.width,
height: img.height - 2,
},
},
],
{
compress: 0.8,
format: ImageManipulator.SaveFormat.JPEG,
}
)
Seems to be working on first pass.