-
Notifications
You must be signed in to change notification settings - Fork 21
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
precompiled: HEIC support not working? #175
Comments
@feld is it possible to share the image? Prebuilt binaries does support Main reason why it is not bundled with the prebuilt binaries (and with platform packages) is that patent licensing around HEVC/x265 seems to be messy. You can check the compression by
|
Yeah, it's just a basic test file we use edit: if github mangled this, here's a link from our repo |
you're right about it being HEVC... now the question is, what does Apple normally use? Time to find a sample |
The files I'm finding from iMessages from friends which are HEIC format also report as HEVC... I see in the FreeBSD project we're shipping libheif with HEVC enabled. In 2020 we stopped restricting things like LAME encoder with this note:
I don't know what to say other than I hope you reconsider and can ship full HEIC/HEIF support as it would make working with this format a lot easier. |
I was just thinking about this again and I think a reasonable solution may be to make it possible to self-host the Pre-compiled NIF, perhaps by setting an ENV that is obeyed at build time? |
Perhaps I can make a nix flake with dependencies. User can use that to install libvips and then configure vix to use platform provided libvips. Then again, I might not be actively maintaining it, it will be like a path to install libvips. Ideally the nix flake should work with both Macos & Linux. Does that help? |
That would be hard. I am using |
I'm seeing this on MacOS and Linux with 0.31.1
ok, look like support should be there.
Fails?
On FreeBSD when I am forced to compile against the system provided vips library:
So, it worked here on FreeBSD.
Annoyingly on MacOS (homebrew) and Debian, libvips does not come linked against libheif so that adds a big hurdle to working around this 😭
The text was updated successfully, but these errors were encountered: