Question

What webp imaging libraries are availble on the App Platform to use in a ruby app?

I’m using rmagick to do image manipulation, but the requist libraries to work with webp are not availble, is there a ruby compatible webp library preinstalled on the App Platform that I can use or a way to install the required libraries for imageMagick and rmagick. My setup is a github deploy of a rails app


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 6, 2023

Hi there,

I’ve just checked internally and I believe the native Heroku Ruby build pack we use doesn’t have webp support out of the box.

That being said, you can try running your application using a Dockerfile build which should allow you to install those libraries that you need.

For more information on how to set that up, you can follow the steps here:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

Hope that this helps!

Best,

Bobby

Bobby Iliev
Site Moderator
Site Moderator badge
April 6, 2023

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up