# Is there a rails Gimp plugin?

**URL:** <https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757>\
**Category:** Rails\
**Created:** [April 3, 2008, 9:35am UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757 "2008-04-03T09:35:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 9:35am UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/1 "2008-04-03T09:35:39Z")

</div>

Hi,

In my app pictures can be uploaded. I want to do two things to the  
pictures:

1- Add a watermark  
2- Add an effect to the picture (colorize)

I can do that manually with Gimp and then upload. But how could I make  
the application to that automatically? Any suggestions for plugins?

Regards

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 9:45am UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/2 "2008-04-03T09:45:46Z")

</div>

You’d be wanting RMagick

Julian.

Learn Ruby on Rails! CHECK OUT THE FREE VIDS (LIMITED TIME) NEW VIDEO  
(#2) OUT NOW!  
[http://sensei.zenunit.com/](http://sensei.zenunit.com/)

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/3 "2008-04-03T16:08:47Z")

</div>

Julian L. wrote:

> You’d be wanting RMagick

You bet! I knew about RMagick but I thought it was used for something  
else. Thanks for the comment, I’ll be playing with it!

Cheers.

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/4 "2008-04-03T18:01:07Z")

</div>

> In my app pictures can be uploaded. I want to do two things to the  
> pictures:
> 
> 1- Add a watermark  
> 2- Add an effect to the picture (colorize)
> 
> I can do that manually with Gimp and then upload. But how could I make  
> the application to that automatically? Any suggestions for plugins?

As others have said… imagemagick… but Gimp can be scripted I believe  
as well… not sure you want to install Gimp on your server, but it’s a  
possibility… no idea how well the scripted side of it works…

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/5 "2008-04-03T18:29:15Z")

</div>

Hi,

I have hosted shared server so I might not be able to use Gimp in any  
case. But I hope RMagick is ok to use in that server (Bluehost, btw…)

Thanks for the comments!

---

<div class="post-metadata">

**Author:** ![comopasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Post date:** [April 3, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757/6 "2008-04-03T18:11:08Z")

</div>

On 03 Apr 2008, at 18:00, Philip H. wrote:

> As others have said… imagemagick… but Gimp can be scripted I  
> believe  
> as well… not sure you want to install Gimp on your server, but  
> it’s a  
> possibility… no idea how well the scripted side of it works…

For what the original poster wants to do, it would be a very bad  
solution. Scripting Gimp is a good solution for when you have to get  
repetitive work done in Gnome or KDE, not for doing it from a web app.  
RMagick is just great for that kind of thing, it has those features  
and with the newest version you don’t have to worry about garbage  
collection anymore. It does require a fair amount of memory, but Gimp  
won’t be an improvement, that’s for sure.

Best regards

Peter De Berdt
