Merging two images.

Hi i need a help,

I am using paperclip to deal with images. My new need is to merge image which is stored in s3 with another png image so i will get a new image and this merged image have to be saved in s3.

How to do this pls help;

Thanks, Manoj Menon.

You need ImageMagick. Play around with it. Then use RMagick to implement the same thing in your ruby app.

Dheeraj Kumar wrote in post #1118551:

You need ImageMagick. Play around with it. Then use RMagick to implement the same thing in your ruby app.

-- Dheeraj Kumar

Thank you, could you please explain more, Imagemagick is a gem?

Why don’t you try googling?

By google, I find this tiff image merging control which can achive the merging of two or more tiff image files. Here is the API, you can find more code by youself.

Public Overrides Function MergeDocument(appendDoc As BaseDocument) As BaseDocument

http://www.imagemagick.org/Usage/compose/