# Using mini\_magick

**URL:** <https://www.ruby-forum.com/t/using-mini-magick/87098>\
**Category:** Ruby\
**Created:** [February 28, 2007, 4:07am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098 "2007-02-28T04:07:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 4:07am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/1 "2007-02-28T04:07:40Z")

</div>

thanks for all the help… I’m making progress…

I installed rubygems, and used that to install mini\_magick. I tried  
using

require “mini\_magick”

but it returned

ruby.rb:1:in `require’: No such file to load – mini\_magick (LoadError)  
from ruby.rb:1

what am I missing? and how do I use mini\_magick to resize images?

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 4:44am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/2 "2007-02-28T04:44:16Z")

</div>

On Feb 27, 2007, at 10:07 PM, Jonathan D. wrote:

> what am I missing? and how do I use mini\_magick to resize images?

First use:  
require ‘rubygems’

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 5:26am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/3 "2007-02-28T05:26:06Z")

</div>

Mat S. wrote:

> First use:  
> require ‘rubygems’

yay! thanks, no more error 🙂

now my other problem: how do I use mini\_magick? the MiniMagick rubyforge  
page points me to [ImageMagick – Command-line Tools: Mogrify](http://www.imagemagick.org/script/mogrify.php) but I  
don’t see how that translates into ruby syntax. typing including  
“mogrify -resize 50% rose.jpg” is definitely not working.

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 5:33am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/4 "2007-02-28T05:33:24Z")

</div>

On Feb 27, 2007, at 11:26 PM, Jonathan D. wrote:

> “mogrify -resize 50% rose.jpg” is definitely not working.  
> Run gem\_server on the command line then point your web browser at:  
> [http://localhost:8808/doc\_root/mini\_magick-1.2.0/rdoc/index.html](http://localhost:8808/doc_root/mini_magick-1.2.0/rdoc/index.html)  
> (Or start at localhost:8808 if your version of mini\_magick is different)

It looks like the mini\_magick docs are pretty sparse though.  
-Mat

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 7:56am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/5 "2007-02-28T07:56:12Z")

</div>

Mat S. wrote:

> Run gem\_server on the command line then point your web browser at:  
> [http://localhost:8808/doc\_root/mini\_magick-1.2.0/rdoc/index.html](http://localhost:8808/doc_root/mini_magick-1.2.0/rdoc/index.html)  
> (Or start at localhost:8808 if your version of mini\_magick is different)
> 
> It looks like the mini\_magick docs are pretty sparse though.  
> -Mat

ooo  
that’s what’s on here:  
[http://www.gemjack.com/gems/mini\_magick-1.2.0/index.html](http://www.gemjack.com/gems/mini_magick-1.2.0/index.html)  
(can I use html links in this forum?)

so… I see this… but I’m still lost. Do I have to install rmagick or  
something for mini\_magick to work?

I’m rather new to programming, and have never used gems before

thanks so much for your help

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 28, 2007, 9:10am UTC](https://www.ruby-forum.com/t/using-mini-magick/87098/6 "2007-02-28T09:10:37Z")

</div>

On Behalf Of Jonathan D.:

# Mat S. wrote:

# \> Run gem\_server on the command line then point your web browser at:

# \> [http://localhost:8808/doc\_root/mini\_magick-1.2.0/rdoc/index.html](http://localhost:8808/doc_root/mini_magick-1.2.0/rdoc/index.html)

# \> (Or start at localhost:8808 if your version of mini\_magick is

different)

# that’s what’s on here:

# [http://www.gemjack.com/gems/mini\_magick-1.2.0/index.html](http://www.gemjack.com/gems/mini_magick-1.2.0/index.html)

# (can I use html links in this forum?)

yes

# so… I see this… but I’m still lost. Do I have to install

# rmagick or something for mini\_magick to work?

just install imagemagick.  
iianm, minimagick is just a wrapper to imagemagick’s command line  
“mogrify”

kind regards -botp
