Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否支持Heif格式的图片 #417

Open
tczb714 opened this issue Jun 27, 2018 · 3 comments
Open

是否支持Heif格式的图片 #417

tczb714 opened this issue Jun 27, 2018 · 3 comments
Labels

Comments

@tczb714
Copy link

tczb714 commented Jun 27, 2018

android p系统的手机扫描本地相册的时候,请问能扫描出来HEIF格式的图片么?

@tczb714 tczb714 changed the title 是否支持Hrif格式的图片 是否支持Heif格式的图片 Jun 27, 2018
@REBOOTERS
Copy link
Contributor

maybe in the next version

@REBOOTERS REBOOTERS reopened this Jun 27, 2018
@wang93wei
Copy link

今天是2020年3月7日,还没支持么?

@litang0908
Copy link

@wang93wei 可以试试这样,在 com.zhihu.matisse.MimeType 中增加以下配置即可

HEIC("image/heic", arraySetOf("heic")),
HEIF("image/heif", arraySetOf("heif")),

然后

Matisse.from(act)
                .choose(MimeType.of(
                        MimeType.JPEG,
                        MimeType.PNG,
                        MimeType.WEBP,
                        MimeType.BMP,
                        MimeType.HEIC,
                        MimeType.HEIF)
                )....

之后选择图片的处理,与其他图片一样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants