Skip to content
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

Webp image upload issue #557

Closed
SRIKANTHAR opened this issue Mar 21, 2024 · 1 comment
Closed

Webp image upload issue #557

SRIKANTHAR opened this issue Mar 21, 2024 · 1 comment

Comments

@SRIKANTHAR
Copy link

webp images upload not supported it's giving this error message when trying to upload webp images has below

avatar_2_3_webp = open(image_ur)

at paperclip method "open" we are getting this error

ImageSpec::Error (#Paperclip::Tempfile:/tmp/18c5a2261d1d178068acb724a8a967b720221108-1242657-rpwwg520221108-1242657-n7zd3k.webp is not a supported image format. Sorry bub :():

we are using Rails 4.2 and ruby 2.3.0

mini_magick (4.12.0)
paperclip (4.2.4)
paperclip-compression (0.3.11)
paperclip-optimizer (2.0.0)

please help on this to how to fix this issue

@janko
Copy link
Member

janko commented Mar 21, 2024

Do you get the same error when using ImageMagick directly on the command-line? Because this error indicates that your ImageMagick installation is not compiled with WEBP support.

@janko janko closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants