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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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/ On 03/04/2008, at 6:35 PM, comopasta Gr wrote:> > 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 > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Julian Leviston 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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> 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... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 03 Apr 2008, at 18:00, Philip Hallstrom wrote:>> 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...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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---