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

Feature request: Request support for image formats: heif #1613

Closed
jitcor opened this issue Aug 14, 2023 · 2 comments
Closed

Feature request: Request support for image formats: heif #1613

jitcor opened this issue Aug 14, 2023 · 2 comments
Labels

Comments

@jitcor
Copy link

jitcor commented Aug 14, 2023

Is your feature request related to a problem? Please describe.
Does not support parsing HEIF image format, you can see the official introduction: https://nokiatech.github.io/heif/
Describe the solution you'd like
Make operations on images add support for the format.
Describe alternatives you've considered
This site is supportable to view: https://speedtesting.herokuapp.com/heicviewer/

Additional context
image

image example:
ce3357aa94d41aa6e0fba5d0db798408.zip

@jitcor jitcor added the feature label Aug 14, 2023
@simonw
Copy link
Contributor

simonw commented Mar 26, 2024

I just had a look at this. This appears to work:

        {
            name: "High Efficiency Image File Format",
            extension: "heic,heif",
            mime: "image/heif",
            description: "",
            signature: {
                0: 0x00,
                1: 0x00,
                2: 0x00,
                // 3 could be 0x24 or 0x18, so skip it
                4: 0x66, // ftypheic
                5: 0x74,
                6: 0x79,
                7: 0x70,
                8: 0x68,
                9: 0x65,
                10: 0x69,
                11: 0x63
            },
            extractor: null
        },

Note that comment about the third byte - I found one example file with 0x24 and another with 0x18 so I skip that one entirely.

simonw added a commit to simonw/CyberChef that referenced this issue Mar 26, 2024
@jitcor
Copy link
Author

jitcor commented Mar 28, 2024

OK, thank you very much.

@jitcor jitcor closed this as completed Mar 28, 2024
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

2 participants