Comments (5)
@moonljt521
建议申请大内存,应该是相机默认分辨率是2k级别的,拍出来的照片占内存太大,我之前就踩过这个坑
from takephoto.
@Lyon1994 不应该以申请内存的方式来解决这个问题啊,要是自己手写就是减小分辨率;
另外根本没有适配最典型的三星手机拍照旋转问题,不明白为什么有这么多star ,都是托么~
from takephoto.
@moonljt521 我没有用过这个,但是很感兴趣,所以star了
@crazycodeboy 找作者君来看看吧
from takephoto.
@moonljt521
1.部分手机拍照时会把Activity回收,这点TakePhoto是有做恢复处理的,不知你是否有按照使用说明做呢?如果simple能正常运行,那么可能是你集成的问题,可以参照simple去使用,另外如果对Readme上的使用说明有疑问可以提issue出来。
2.裁切照片需要将照片加载到内存中处理,无论是第三方裁切工具还是TakePhoto自带的都是避免不了的需要使用一定的内存,这个根据照片的分辨率大小不同而不同,但不会造成崩溃的。
from takephoto.
@crazycodeboy 我直接使用的demo来拍照,拍照后照片在三星上是旋转的
from takephoto.
Related Issues (20)
- 闪退
- 4.0.0 启用鲁班压缩 takesuccess 未回调到主线程
- 裁剪过后,透明图片会变黑
- android10.0外部存储适配 HOT 3
- 兼容 Android 11 了吗? HOT 2
- java.lang.IllegalArgumentException: the bind value at index 1 is null
- 混淆后 反射报错
- 保存时发生错误,保存失败 HOT 2
- 下载依赖包失败 HOT 2
- 你好 想请问一下有没有办法设置压缩路径和名称?
- 明明有相机有权限,但提示无此相机 HOT 1
- JCenter()已弃用,build.gradle(Project)里takePhoto的buildscript repositories应怎么改?
- Manifest merger failed with multiple errors, see logs HOT 2
- Counldn't save changes due to an error
- Android12(SDK:31)不适配 HOT 1
- SM-A5260 android12版本 拍照后直接回调takeCancel方法 HOT 1
- 裁剪后,展示的图片自动旋转角度了
- 不建议使用:最后一次2018年更新,Android11分区存储之后,会报错。 HOT 3
- 不建议使用,存在诸多兼容问题
- luban使用有问题,裁剪图片后报错
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 takephoto.