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

java.lang.RuntimeException: infe not implemented (crash) #7

Open
0x410c opened this issue May 14, 2021 · 1 comment
Open

java.lang.RuntimeException: infe not implemented (crash) #7

0x410c opened this issue May 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@0x410c
Copy link

0x410c commented May 14, 2021

Describe the bug
Give file source call convert it crashes

java.lang.RuntimeException: infe not implemented 
   at linc.com.heifconverter.iso14496.part12.ItemInfoEntry.getContent(ItemInfoEntry.kt:27)

To Reproduce
Steps to reproduce the behavior:

  1. download heic sample from https://filesamples.com/formats/heic
  2. try to convert crash

Expected behavior
it should convert the file

Screenshots
no screenshots needed

Smartphone (please complete the following information):

  • Device: android emulator
  • OS: pie 9
@lincollincol lincollincol added the bug Something isn't working label May 15, 2021
@jordond
Copy link
Contributor

jordond commented Aug 9, 2022

The implementation in this repo works best on Android 10 and higher. Since it uses the built-in BitmapFactory to do all the decoding.

However for Android 9 and lower, it uses a custom implementation to decode the HEIF. Unfortunately in my testing this does not support the majority of HEIF files I've come across.

I have forked this repo, rewrote it, and added a bunch of features. Including support for Android 9 and lower. You can check it out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants