Resize image


#1

Is there a way to resample(resize) images in ruby?


#2

Is there a way to resample(resize) images in ruby?

Have a look at RMagick:

http://rmagick.rubyforge.org/

I use it for all my automated image manipulations.

gegroet,
Erik V. - http://www.erikveen.dds.nl/


#3

Erik V. wrote:

Have a look at RMagick:

http://rmagick.rubyforge.org/

I use it for all my automated image manipulations.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

Awesome! Will I be able to use this on a Ruby supporting server such as
site5 or hostmonster?

thanks! :slight_smile:


#4

I wrote a really simple script for doing just that, using RMagick.
Check it
out if you’d like:

http://www.jason-palmer.com/2006/11/26/rmagick-batch-image-thumbnailing/


#5

On 2/24/07, Jonathan D. removed_email_address@domain.invalid wrote:

Awesome! Will I be able to use this on a Ruby supporting server such as
site5 or hostmonster?

MiniMagick (http://rubyforge.org/projects/mini-magick/) may be a
better fit for a shared hosting environment (less chance of getting
your application killed for memory usage). It’s just a wrapper to the
ImageMagick mogrify tool.

Alex


#6

Jason Palmer wrote:

I wrote a really simple script for doing just that, using RMagick.
Check it
out if you’d like:

http://www.jason-palmer.com/2006/11/26/rmagick-batch-image-thumbnailing/

cool! I still want to write my own program, but seeing yours is helpful!


#7

A.S. Bradbury wrote:

On 2/24/07, Jonathan D. removed_email_address@domain.invalid wrote:

Awesome! Will I be able to use this on a Ruby supporting server such as
site5 or hostmonster?

MiniMagick (http://rubyforge.org/projects/mini-magick/) may be a
better fit for a shared hosting environment (less chance of getting
your application killed for memory usage). It’s just a wrapper to the
ImageMagick mogrify tool.

Alex

This looks good. So I just install the .gem and I’m good to go? how do I
do that?