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
Enable HEIF image uploads #8355
Comments
heif or heic images must then converted by the backend to a supported image format. Heif is not a format supported by browser engines: |
it would need to be processed on the server anyway to get the different sizes, but it's also not supported by all servers (I don't know if that's because it's a proprietary format, or if there are other reasons for that) ... so at least at the moment it's not that easy to support. |
Thanks, both. I'd hoped this would be a really simple addition. I'll leave the ticket open in case anyone feels like taking this on in the future – as long as you don't think it would hamper server performance. |
Just for the record,
ImageMagick supports HEIF if (it's also not proprietary. :)) |
At least for Ubuntu bionic I only find guides which include compiling imagemagick yourself, so I thought it's not just enough to install the lib? But maybe these guides are wrong? Later version seem to support it out of the box. |
Uh, okay, I actually don't know if there are any additional dependencies, like a minimal required ImageMagick version. The IM website just says "it's supported", but not since when. If it's not supported in at least Focal, than yeah, this might simply not be realistic at the moment. |
I guess the lib needs to be installed at build time so it can link against it, that's why newer versions have it as hard dependency and then it's supported, older Ubuntu versions don't have it as dependency and that are also the ones with guides that describe recompiling imagemagick after installing the lib. |
Yeah that makes total sense. I'm not entirely sure why I didn't check the build configs for the packages in question. Looking at the Changelog of the Debian package, I found this change from 2018:
ImageMagick 6.9.10.23 or newer is in Ubuntu since Focal, and in Debian since Buster. Debian Stretch is pretty close to EOL, but unfortunately Bionic is still supported. Requiring Ubuntu Focal or newer might be reasonable, but I'm not going to make that call. I'd tend towards being fine with that, especially since the same release also enables WebP, and diaspora* could gain a lot by converting to WebP instead of JPEG... |
Converting all uploaded images to the webp format. Adding heic to the list of supported file formats for post images
Converting all uploaded images to the webp format. Adding heic to the list of supported file formats for post images
Converting all uploaded images to the webp format. Adding heic to the list of supported file formats for post images
Converting all uploaded images to the webp format.
Please add HEIF to the list of image formats that can be uploaded to posts. Thank you!
The text was updated successfully, but these errors were encountered: