# Off Topic - Image size convertor?

**URL:** <https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706>\
**Category:** Rails\
**Created:** [June 30, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706 "2006-06-30T23:29:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [June 30, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/1 "2006-06-30T23:29:00Z")

</div>

I’ve been googling around, and have found a lot of tools to convert  
images to the right pixel size - anyone have a good command line based  
one for linux?

Also, how do you issue a command from a rails app?

Thanks,  
Ben L.

---

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [June 30, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/2 "2006-06-30T23:30:23Z")

</div>

Ben L. wrote:

> I’ve been googling around, and have found a lot of tools to convert  
> images to the right pixel size - anyone have a good command line based  
> one for linux?
> 
> Also, how do you issue a command from a rails app?
> 
> Thanks,  
> Ben L.

is ImageMagick one of the best?

---

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [June 30, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/3 "2006-06-30T23:34:07Z")

</div>

On Jun 30, 2006, at 2:29 PM, Ben L. wrote:

> I’ve been googling around, and have found a lot of tools to convert  
> images to the right pixel size - anyone have a good command line based  
> one for linux?

Try looking into ImageMagick [[ImageMagick – Convert, Edit, or Compose Digital Images](http://www.imagemagick.org/script/)  
index.php] and RMagick [[http://rmagick.rubyforge.org/](http://rmagick.rubyforge.org/)]. I think that  
might be what you’re after.

- Vani Raja

---

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [June 30, 2006, 11:59pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/4 "2006-06-30T23:59:45Z")

</div>

On Jun 30, 2006, at 2:29 PM, Ben L. wrote:

> I’ve been googling around, and have found a lot of tools to convert  
> images to the right pixel size - anyone have a good command line based  
> one for linux?
> 
> Also, how do you issue a command from a rails app?

You should read about our asset compiler that we use on projects at  
PLANET ARGON.

> **[Agile Asset Management with Ruby DSLs](https://www.infoq.com/articles/Agile-Asset-Management/)**
>
> Ruby makes it easy to craft Domain-Specific-Languages with Ruby syntax. This article is a story about the benefits derived from implementing a Ruby DSL for a PLANET ARGON development project.

svn:

[http://www.planetargon.org/trac/wiki/AssetCompiler](http://www.planetargon.org/trac/wiki/AssetCompiler)

Cheers,

Robby

–  
Robby R.  
Founder & Executive Director

PLANET ARGON, LLC  
Ruby on Rails Development, Consulting & Hosting

> **[Planet Argon](https://www.planetargon.com)**
>
> Planet Argon is a Ruby on Rails development agency specializing in maintenance and support for existing Rails apps. Based in Portland, OR, Planet Argon has been a member of the Rails community since 2004.

[www.robbyonrails.com](http://www.robbyonrails.com)

+1 503 445 2457  
+1 877 55 ARGON [toll free]  
+1 815 642 4068 [fax]

---

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [July 1, 2006, 12:05am UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/5 "2006-07-01T00:05:58Z")

</div>

On Jun 30, 2006, at 2:54 PM, Ben L. wrote:

> > index.php] and RMagick [[http://rmagick.rubyforge.org/](http://rmagick.rubyforge.org/)]. I think that  
> > might be what you’re after.
> > 
> > - Vani Raja
> 
> Cool! Does imagemagick run on Gentoo though? Would the fedora core 5  
> rpm work for gentoo?

Remember, Google is thy friend. :o) Try this: [http://www.google.com/](http://www.google.com/)  
search?q=gentoo+emerge+imagemagick

- Vani Raja

---

<div class="post-metadata">

**Author:** ![blewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@blewis](https://www.ruby-forum.com/u/blewis)\
**Post date:** [June 30, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/off-topic-image-size-convertor/96706/6 "2006-06-30T23:54:36Z")

</div>

Vani Raja wrote:

> On Jun 30, 2006, at 2:29 PM, Ben L. wrote:
> 
> > I’ve been googling around, and have found a lot of tools to convert  
> > images to the right pixel size - anyone have a good command line based  
> > one for linux?
> 
> Try looking into ImageMagick [[ImageMagick – Convert, Edit, or Compose Digital Images](http://www.imagemagick.org/script/)  
> index.php] and RMagick [[http://rmagick.rubyforge.org/](http://rmagick.rubyforge.org/)]. I think that  
> might be what you’re after.
> 
> - Vani Raja

Cool! Does imagemagick run on Gentoo though? Would the fedora core 5  
rpm work for gentoo?
