Last Updated: February 25, 2016
·
1.203K
· 1dlehands

Doing some image manipulation in Ruby?

Interfacing with ImageMagick is the most common way to go, but if you only need basic manipulation, consider chunky_png as an alternative.

Definitely need to use ImageMagick? Look into mini_magick instead of rmagick. You'll have to dive into the ImageMagick docs and figure out most of the syntax, BUT it handles memory issues WAY better.

Also, if you are definitely using ImageMagick, homebrew (brew install imagemagick) is the easiest way to do the installation.

2 Responses
Add your response

Use GraphicsMagick. It's supported by mini_magick.

over 1 year ago ·

Thanks! Everything I'm reading about it sounds like a great solution. That said, unfortunately, Heroku, where I'm currently hosting my app the needs a graphics library, doesn't have the option. I'll still play around with it.

over 1 year ago ·