-
Notifications
You must be signed in to change notification settings - Fork 2k
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
The ImageMagick example doesn't work #2034
Labels
samples
Issues that are directly related to samples.
Comments
product-auto-label
bot
added
the
samples
Issues that are directly related to samples.
label
Oct 29, 2020
This was referenced Jan 11, 2022
Open
Open
Open
Open
Open
Open
This was referenced Mar 20, 2022
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version info
I'm using node 12, And have tried to downgrade to 10 and the same error occurred.
node: v12.16.3
"firebase-admin": "^9.3.0",
"firebase-functions": "^3.11.0",
"gm": "^1.23.1"
Firebase-tools: 8.14.1
Test case
Steps to reproduce
Call the http function.
Expected behavior
Work and treat the image, as it does in local dev.
With spawn and convert works, but using
gm
doesn't.Actual behavior
Error treating the img and resizing: Error: Error: Could not execute GraphicsMagick/ImageMagick: gm "convert" "-quality" "50" "/tmp/original.jpg" "-fill" "rgb(247,247,247)" "-fuzz" "5%" "-opaque" "rgb(255,255,255)" "-resize" "1000x^" "+profile" ""*"" "+comment" "/tmp/1000.webp" this most likely means the gm/convert binaries can't be found
Were you able to successfully deploy your functions?
Yes no problem at all.
Thanks a lot!
The text was updated successfully, but these errors were encountered: