danvergara / morphos

Self-hosted file converter server
MIT License
1.13k stars 45 forks source link

Add HEIF/HEIC Support #36

Open GavinL2001 opened 10 months ago

GavinL2001 commented 10 months ago

I take a lot of pictures with my iPhone in heif. It would be nice to convert them without needing to install libheif onto all my machines.

From what I found with a quick google search, there are a couple of go libraries that I think could be implimented. One being the original libheif project, and this older goheif project.

danvergara commented 9 months ago

God knows I tried with libheif. In this PR you can see that I removed it because of a number of reasons. Being honest, what I tried to do was adding support for AVIF, I didn't try to cover HEIF/HEIC. I'll circle back to libehif right after I add support for DOC, DOCX, ODT, and audio.

I'll keep this open until then, so I don't forget.

GavinL2001 commented 9 months ago

Awesome! Thanks so much! No need to rush, on this feature. I just figured it'd be a good one to have for those moments when I or someone else would need it.

Thanks for all your hard work!

darkspadez commented 8 months ago

@danvergara What issues were you running into? If i get some free time I can take a look at your original AVIF commit and see if i can come up with a solution or not.

chaosclarity84 commented 2 months ago

Came here to comment, would love to have heic support as well.

FX-Drouard commented 3 weeks ago

same

Came here to comment, would love to have heic support as well.