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

HeifError: Code: 2, Subcode: 130, Message: "Invalid input: Invalid pixi box: No pixi information for chroma channels." #37

Open
mabergerx opened this issue Jan 13, 2021 · 2 comments

Comments

@mabergerx
Copy link

Hi,

During parsing of multiple HEIC files, most files in my set are parsed correctly, however, some files do not get parsed with the following error:

/usr/local/lib/python3.6/dist-packages/pyheif/reader.py in _read_heif_handle(handle, apply_transformations, convert_hdr_to_8bit)
    136             code=error.code,
    137             subcode=error.subcode,
--> 138             message=_libheif_cffi.ffi.string(error.message).decode(),
    139         )
    140     img = p_img[0]

HeifError: Code: 2, Subcode: 130, Message: "Invalid input: Invalid pixi box: No pixi information for chroma channels."

At the same time, the image is previewed and opened normally on my Mac OS 10.15.7, so it is not a corrupted file.

Any idea what could cause this behavior?

Thanks!

@ghost
Copy link

ghost commented Feb 2, 2021

Can you attach an example image pls?

@yuguangde
Copy link

I came up with the same problem. For example, the below images in zip.
images.zip

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

No branches or pull requests

2 participants