Comments (7)
好的,按理说应该可以做到相册编辑,精度调整我需要再看看,我会在有时间的情况下满足这个功能,谢谢你的使用哈
from react-native-image-marker.
有解决办法吗?
from react-native-image-marker.
关于图片保存的问题,我想你可以使用第三方组件保存到相册,参考这里
from react-native-image-marker.
读取相册文件可以使用第三方组件如(react-native-image-picker
)[https://github.com/react-community/react-native-image-picker]来达到你的目的
from react-native-image-marker.
@koukouzaki 不知道你的图片精度调整是怎样的需求能详细描述一下吗?
from react-native-image-marker.
@JimmyDaddy 嗯,谢谢你的推荐,之前用了React-native自带的CameraRoll保存图片到了相册,现在每拍一次,相册会同时存在两张图,一张没水印原始的,一张有水印后来的。现在项目里的问题是如何删除第一张拍的图。^-^
图片精度的事是由于拍好的水印图里,字有点虚,然后我看了你之前那个issue里提到的故意降低图片质量来保证一些东西,所以有这么一说。
在翻看你的源码,看到有提到quality,但是我本身并不会原生开发,所以不是很懂~~
from react-native-image-marker.
@koukouzaki 我个人觉得你打好水印以后的图片应该是一张新的图片了,而原来的图片应该保留下来,不应该删除掉吧。。。
精度问题是因为Android手机在加载bitmap时图片过大可能出现内存溢出的问题(OOM),所以我故意降低了图片质量防止Android闪退,在IOS上不会降低图片质量,这个我后续想想如何优化,最近项目比较紧所以没时间来做,不好意思,你要是有好的建议欢迎提PR
from react-native-image-marker.
Related Issues (20)
- [feat] text watermark style HOT 5
- App crash on markText using iOS HOT 3
- crash on android 6.0.1 HOT 1
- add option in styling for applying border radius in text background HOT 1
- textAlignment not uniform in android-ios HOT 1
- Can't put watermark image at specified position on background image. HOT 5
- Android sets the text watermark beyond the screen. HOT 1
- android text marker rotate 文字没有旋转(如图),ios正常 HOT 1
- android release bug style not working , debug is ok HOT 2
- The 'quality' option not works in latest version(v1.1.8) HOT 4
- Build Failure on CI Due to CocoaPods 1.1.9 in iOS Project HOT 5
- Choose X/Y position HOT 1
- react-native-image-marker:compileDebugKotlin FAILED HOT 4
- Fresco 3.1.3 compatibility issues with RN 0.73.0, react-native-image-marker:compileDebugKotlin FAILED HOT 3
- Please add drag & drop feature for image watermark HOT 1
- Same watermark image is behaving differently on ANDROID and IOS when use given position enum HOT 3
- Build error HOT 3
- Crash on ios when running markText HOT 4
- > Yes, It is 8.0.1. Should I upgrade it? HOT 8
- Marker.markText option is not visible HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-image-marker.