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

add fast HEIC support #282

Open
catdad opened this issue Nov 29, 2019 · 4 comments
Open

add fast HEIC support #282

catdad opened this issue Nov 29, 2019 · 4 comments
Labels
performance Something should be faster

Comments

@catdad
Copy link
Owner

catdad commented Nov 29, 2019

see #278 and #281

@catdad catdad added the performance Something should be faster label Nov 29, 2019
@catdad
Copy link
Owner Author

catdad commented Nov 29, 2019

ImageMagick can convert heif relatively quickly (~1.5s), but I would want to have static builds for Linux/Mac (I can only find ones for Windows currently):

PS D:\Workspace\Photography\heif> Measure-Command { ./magick.exe IMG_4453.HEIC test.jpg }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 1
Milliseconds      : 521
Ticks             : 15217412
TotalDays         : 1.76127453703704E-05
TotalHours        : 0.000422705888888889
TotalMinutes      : 0.0253623533333333
TotalSeconds      : 1.5217412
TotalMilliseconds : 1521.7412

@catdad
Copy link
Owner Author

catdad commented Nov 29, 2019

tifig works well and only ~500ms, but are builds only available for Linux?

kiril@whitson:/mnt/d/Workspace/Photography/heif$ time ./tifig -p IMG_4453.HEIC test.jpg

real    0m0.484s
user    0m0.453s
sys     0m0.016s

@catdad
Copy link
Owner Author

catdad commented Nov 29, 2019

sharp can also handle HEIC, but requires a special version of libvips and I have not tested it.

@catdad
Copy link
Owner Author

catdad commented Nov 29, 2019

Nokia has a reader and writer, but I have not looked into them: https://github.com/nokiatech/heif

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

No branches or pull requests

1 participant