zhihu / Matisse

:fireworks: A well-designed local image and video selector for Android
Apache License 2.0
12.52k stars 2.07k forks source link

支持heic格式图片 #761

Open taosimple opened 4 years ago

taosimple commented 4 years ago

现在部分Android手机(小米10)照片是 heic 格式,目前Matisse没有这个格式,希望能支持

leigayu commented 4 years ago

附议,需要支持heic格式

elfifo4 commented 4 years ago

here is a solution: in class MimeType, add:

    HEIC("image/heic", arraySetOf(
            "heic"
    )),
...

    public static Set<MimeType> ofImage() {
        return EnumSet.of(JPEG, PNG, GIF, BMP, WEBP, HEIC);
    }