Coder Social home page Coder Social logo

Comments (5)

wlwoon avatar wlwoon commented on August 23, 2024

我用的kotlin并非compose开发,这个ImageEngine没法传,有办法解决吗

from matisse.

wlwoon avatar wlwoon commented on August 23, 2024

另外能否添加一个打开相机的策略,打开拍照时是默认打开前置还是后置摄像头

from matisse.

leavesCZY avatar leavesCZY commented on August 23, 2024

@wlwoon
1、因为考虑到引用方大概率已经集成了某个图片加载框架,因此 Matisse 通过 ImageEngine 接口将图片的加载逻辑交由引用方来实现,避免重复集成多个图片加载框架,这样你就可以自由选择要使用 Glide、Coil、还是其它图片框架了
2、你在项目中开启 compose 开关,然后导入一些必要的 compose 依赖,就可以实现 ImageEngine 了。这部分内容在 wiki 里都有详细介绍
3、后续我可以补充上

from matisse.

leavesCZY avatar leavesCZY commented on August 23, 2024

@wlwoon 目前 1.0.0-beta04 版本应该可以满足你的需求了,CaptureStrategy 接口新增了一个 getCaptureExtra 方法,可用于为相机设置启动参数,在接入指南中有介绍到

from matisse.

wlwoon avatar wlwoon commented on August 23, 2024

感谢!

from matisse.

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.