简体   繁体   English

反应原生图像可拖动裁剪

[英]React native image draggable crop

I need image draggable cropping (namely with custom aspect ratio).我需要图像可拖动裁剪(即自定义纵横比)。 I tried using https://github.com/prscX/react-native-photo-editor package, but cropping option was not included in Android platform.我尝试使用https://github.com/prscX/react-native-photo-editor包,但 Android 平台中不包含裁剪选项。 I need the same feature to have for both platforms, so I can't use that package.我需要为两个平台提供相同的功能,所以我不能使用那个包。

Can anyone help me to find a proper solution to this please?任何人都可以帮我找到一个合适的解决方案吗?

I found a package which provides the feature I was searching for.我找到了一个包,它提供了我正在寻找的功能。 It is not such a popular package, but it is good :) https://github.com/zainozzaini/react-native-android-image-cropper它不是那么受欢迎的软件包,但它很好:) https://github.com/zainozzaini/react-native-android-image-cropper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 以原生方式裁剪图像 - Crop a image in react native 如何在React Native中裁剪图像 - How to crop image in React Native 如何在React Native中聚焦裁剪图像 - How to focus crop image in React Native react-native-image-crop-picker 不显示图像 - react-native-image-crop-picker not displaying image 调整裁切器而不是图像缩放来响应本机图像裁切器 - Adjust cropper instead of image zoom react native image crop picker react-native-image-crop-tools 完美正方形图像的纵横比 - react-native-image-crop-tools aspect ration of an image for a perfect square React-Native-Crop-Image 在 android 上不起作用,如何在 android 上裁剪图像,对于 ios 也应该相同 - React-Native-Crop-Image doesn't work on android , How to crop images on android and it should be same for ios also 使用React Native和Image Crop Picker同时上传到存储和数据库时,Firebase错误代码403 - Firebase error code 403 when uploading to storage and database at the same time using React Native and Image Crop Picker 如何使用 canvas drawimage function 根据纵横比裁剪图像中心 - How to crop image centre as per aspect ratio using canvas drawimage function react native 反应原生图像裁剪选择器在平面列表上显示(渲染)图像时出现问题 - Having issues with react native image crop picker to display (render) images on flatlist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM