Sharp has avif support as well
Anyway, just wanted to point it out, as I encountered this few days ago, once i get done with everything else, will try to think how to come around the error, while we have a fix
Appwrite use php, sharp is only compatible with nodejs
doesn't appwrite use dockered functions as well?
so why not just add sharp in the mix
Cause all code base is on php
btw, you should be able to use sharp on custom function ๐
i have no idea how i would add that to the on demand functionality
i was refering to the bucket transformation function that is built in
Anyway, from googling, it seems imagick does support webp, and transformations on it
Yes you can, read here : https://appwrite.io/docs/client/storage?sdk=web-default#storageGetFilePreview
output param
but why no previews for webp, as it seems to be supporting it
webp -> webp
i think it's a bug. i think it's missing from here: https://github.com/appwrite/appwrite/blob/f45905e5456fb0722751b10887e5a488fa3545b8/app/config/storage/inputs.php
nice catch
No here is for input
Oh not see that it's what you want ๐
I was uploading webp 4000x4000, then requesting webp 400x400, wasn't getting preview, that was my concern
Thinks need to update https://github.com/appwrite/docker-base/blob/main/Dockerfile with webp metatypes for that ?
This checks that the input type is one of the allowed ones for preview. See https://github.com/appwrite/appwrite/blob/f45905e5456fb0722751b10887e5a488fa3545b8/app/controllers/api/storage.php#L872
Is imagemagick-dev package include webp lib ?
While it can export to webp, we'll say yes. So true, need to allow webp on input field
Recommended threads
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...