minimagick/minimagick: mini replacement for RMagick
18-Jul-2025 12
I was using RMagick and loving it, but it was eating up huge amounts of memory. Even a simple script would use over 100MB of RAM. On my local machine this wasn't a problem, but on my hosting server the ruby apps would crash because of their 100MB memory limit.
Solution!
Using MiniMagick the ruby processes memory remains small (it spawns ImageMagick's command line program mogrify which takes up some memory as well, but is much smaller compared to RMagick). See Thinking of switching from RMagick? below.
MiniMagick gives you access to all the command line options ImageMagick has (found here).
minimagick/minimagick: mini replacement for RMagick #ruby #rubydeveloper #rubyonrails #minimagick/minimagick: #replacement #RMagick https://www.rubyonrails.ba/link/minimagick-minimagick-mini-replacement-for-rmagick