Hi need help please

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
z0mbie

Hi need help please

Post by z0mbie »

hey guys,

I searched the intarweb in vain... I can't seem to find a script that will let me do that:

Image

I don't think I have the knowledge to do it myself. If someone can help me, I'd really like to be able to generate that kind of polaroid stack.

Any input is appreciated. Thanks
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Hi need help please

Post by Bonzo »

I have 2 examples similar on my website http://rubblewebs.co.uk/imagemagick/other.php you can use it to do what you want. Just take it one step at a time.
z0mbie

Re: Hi need help please

Post by z0mbie »

Thanks Bonzo for the link. It's a good start!
z0mbie

Re: Hi need help please

Post by z0mbie »

On the same note, here's a dead link:
http://www.imagemagick.org/Usage/montag ... Index.html
found on: http://www.imagemagick.org/Usage/transform/#polaroid

I would really like to know what was that page about... the wayback machine didn't quite catch it I'm afraid!

Thanks
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Hi need help please

Post by anthony »

Thanks for telling me about the dead link. It was to a montage (rectangular array) of Polaroids. The montage area was re-vamped, and that directory deleted, especially as the images were of copyright paintings.

Look at..
http://imagemagick.org/Usage/montage/#polaroid
Or the index of the IM examples 'photo_store'
http://imagemagick.org/Usage/photo_store/INDEX.html
if you want to know more.

However The basic idea is to make the Polaroids, say using +polaroid (which randomizes the rotation angle), then give them each a randomized position that starts with a large radius from some point and gets smaller.

You will need a script to do that! Though a simple example published on this topic could be helpful. Anyone up to the challenge? Hint look at the randomized rotates in Thumbnails, Polaroid Stack... http://imagemagick.org/Usage/thumbnails/#polaroid

You can then use one of the flatten methods to overlay them into one final image -flatten -mosaic and in the next point release of IM -layers merge.

That last removes any bounds caused by the offset 'origin' that the other two suffers from, either adding extra space to the left and top of the final image, or clipping images that have negative offsets. This operator was added for easier pamarama photo overlay example, but also takes care of the existing problems of using -shadow layer images caused by -mosaic negative offset clipping.

hopefully in the next few days the examples at http://imagemagick.org/Usage/layers/#merge will make things clear.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
z0mbie

Re: Hi need help please

Post by z0mbie »

Thanks a lot anthony!

I really appreciate the time you took to answer me. Hopefully this will help other as well.
Post Reply