ImageMagick Guru? / RMagick Help
Posted: 2011-10-27T10:53:29-07:00
Hi Guys,
I’ve only recently discovered ImageMagick whist looking for a solution to a problem I’m trying to solve involving a bit of image processing - however I’m not the best programmer and don’t have any experience using ImageMagick so I’m looking for a guru (or even someone who knows roughly how to use it). I’m sorry I don’t mean to treat this like a job board but just didn’t know where else to look...
What I’m trying to achieve:
1. Load ‘Background Image’ - a consistent fixed size
2. Overlay ‘Logo Image’ - this will be the same logo / size / position every time
3. Load ‘Other Image’ - it is an arbitrary size
4. Scale ‘Other Image’ using a specified scale factor
5. Rotate ‘Other Image’ using a specified degree of rotation
6. Position ‘Other Image’ using specified x and y values
7. Combine all 3 results and save as a PDF
I’ve attached an image to try and illustrate what I mean:
Ideally it could be incorporated into the rails application running on Heroku. So I’m not sure of the best way to do this, possibly using one of the ImageMagick ruby interfaces such as RMagick?
Feedback much appreciated and please shout at me if this is the wrong place to post something like this!
Thanks,
Lee
I’ve only recently discovered ImageMagick whist looking for a solution to a problem I’m trying to solve involving a bit of image processing - however I’m not the best programmer and don’t have any experience using ImageMagick so I’m looking for a guru (or even someone who knows roughly how to use it). I’m sorry I don’t mean to treat this like a job board but just didn’t know where else to look...
What I’m trying to achieve:
1. Load ‘Background Image’ - a consistent fixed size
2. Overlay ‘Logo Image’ - this will be the same logo / size / position every time
3. Load ‘Other Image’ - it is an arbitrary size
4. Scale ‘Other Image’ using a specified scale factor
5. Rotate ‘Other Image’ using a specified degree of rotation
6. Position ‘Other Image’ using specified x and y values
7. Combine all 3 results and save as a PDF
I’ve attached an image to try and illustrate what I mean:
Ideally it could be incorporated into the rails application running on Heroku. So I’m not sure of the best way to do this, possibly using one of the ImageMagick ruby interfaces such as RMagick?
Feedback much appreciated and please shout at me if this is the wrong place to post something like this!
Thanks,
Lee