-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 WEBP support #785
Enable WEBP support #785
Conversation
This is a tricky one. Normally we use example Dockerfiles to support additional apps. I just asked for upstream support in nextcloud/server#13552 (comment). @tilosp would you agree to extend the GD extension for WebP support? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add the corresponding dependency to the Alpine variant:
docker/Dockerfile-alpine.template
Line 35 in 4a94550
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \ |
Signed-off-by: Flow86 <[email protected]>
Done in 11cc51e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tilosp would you agree to extend the GD extension for WebP support?
yes adding support for WebP is fine, especially since it only adds <1MB.
Thanks! |
Enable WEBP support in GD module, so that processing webp files in nextcloud will work.
I created a small app https://github.com/Flow86/preview_webp to allow preview of webp files in nextcloud file browser.