Giter Site home page Giter Site logo

Comments (5)

Lyon1994 avatar Lyon1994 commented on September 7, 2024

@moonljt521
image
建议申请大内存,应该是相机默认分辨率是2k级别的,拍出来的照片占内存太大,我之前就踩过这个坑

from takephoto.

moonljt521 avatar moonljt521 commented on September 7, 2024

@Lyon1994 不应该以申请内存的方式来解决这个问题啊,要是自己手写就是减小分辨率;
另外根本没有适配最典型的三星手机拍照旋转问题,不明白为什么有这么多star ,都是托么~

from takephoto.

Lyon1994 avatar Lyon1994 commented on September 7, 2024

@moonljt521 我没有用过这个,但是很感兴趣,所以star了
@crazycodeboy 找作者君来看看吧

from takephoto.

crazycodeboy avatar crazycodeboy commented on September 7, 2024

@moonljt521
1.部分手机拍照时会把Activity回收,这点TakePhoto是有做恢复处理的,不知你是否有按照使用说明做呢?如果simple能正常运行,那么可能是你集成的问题,可以参照simple去使用,另外如果对Readme上的使用说明有疑问可以提issue出来。
2.裁切照片需要将照片加载到内存中处理,无论是第三方裁切工具还是TakePhoto自带的都是避免不了的需要使用一定的内存,这个根据照片的分辨率大小不同而不同,但不会造成崩溃的。

from takephoto.

moonljt521 avatar moonljt521 commented on September 7, 2024

@crazycodeboy 我直接使用的demo来拍照,拍照后照片在三星上是旋转的

from takephoto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.