JetBrains / skia-build

91 stars 50 forks source link

HEIC support (libheif) #7

Closed werthdavid closed 3 years ago

werthdavid commented 3 years ago

Hey guys, great work, thanks for that repo! I'm currently trying to create my own version of Skija (Java), especially the HEIC support is interesting for me. I managed to build skia with this repo and skija with your other build scripts. Now I wanted to enable HEIC support but I can't figure out how to achieve that... is there any chance this will be supported be this project or can you give me a hint what I could try?

Cheers, David

tonsky commented 3 years ago

I don’t think Skia includes it https://github.com/JetBrains/skija/issues/90#issuecomment-796296812. You are probably better off with using a library for that

werthdavid commented 3 years ago

thanks for the fast reply. Unfortunately I have not found a working library in Java for that. I thought Skia does have support for HEIC, it just has to be enabled..

tonsky commented 3 years ago

On Android, it relies on Android implementation. Everywhere else, I guess it just doesn’t support it :)

werthdavid commented 3 years ago

Oh, I see, in https://bugs.chromium.org/p/skia/issues/detail?id=11733 Google is very clear about this. I looked into Skia a little bit and thought the libheif comments meant that it does rely on that library in non-android platforms. Thanks for the clarification!