Page 1 of 1

How to do this effect? (Image Attached)

Posted: 2012-06-12T06:33:21-07:00
by agriz
I have attached the image here.
Is it possible to do this using imagemagick?

Image

Re: How to do this effect? (Image Attached)

Posted: 2012-06-12T07:49:05-07:00
by Bonzo
I did something similar a couple of years ago: Example code

Image

I belive Anthony has another example on his site.

This was a variation of trying to remove areas that are nearly empty: Forum thread

Image

Re: How to do this effect? (Image Attached)

Posted: 2012-06-12T18:14:47-07:00
by anthony
If you want to actually have the images in the smaller 'photos' align, then simply generate that image with 'holes' for the actual photo content. You then overlay that 'holey' image over your original.

See 'Simple Border Overlay' in IMv6 Examples, Thumbnails
http://www.imagemagick.org/Usage/thumbn ... er_overlay


I myself think the 'jitterred offset and rotation' effect is the better idea.

Re: How to do this effect? (Image Attached)

Posted: 2012-06-13T00:01:00-07:00
by Bonzo
If you want to actually have the images in the smaller 'photos' align, then simply generate that image with 'holes' for the actual photo content. You then overlay that 'holey' image over your original.
Good idea Anthony - lateral thinking - I had not even noticed the photos were still aligned!

Re: How to do this effect? (Image Attached)

Posted: 2012-06-13T09:50:13-07:00
by agriz
Bonzo wrote:
If you want to actually have the images in the smaller 'photos' align, then simply generate that image with 'holes' for the actual photo content. You then overlay that 'holey' image over your original.
Good idea Anthony - lateral thinking - I had not even noticed the photos were still aligned!
How do i make the holes in the actual images to bring such an effect?

Re: How to do this effect? (Image Attached)

Posted: 2012-06-13T19:33:36-07:00
by anthony
Generally by making them transparent. this is best done by creating a greyscale mask with the areas you want transparent, then compose using CopyOpacity to insert it into the image that does not have any 'holes' yet.

See IM examples, CopyOpacity.
http://www.imagemagick.org/Usage/compose/#copyopacity

You can manually do this in a Image editor like GIMP too. Load the image, add a transparency (alpha) channel, and erase, or 'cut out' polygon selections, to create the holes.

Do not directly map a color to transparency as it produces a boolean transparency with aliased (staircased) edges.

Re: How to do this effect? (Image Attached)

Posted: 2012-06-16T03:00:40-07:00
by agriz
can you attach any sample greyscale mask image to produce this effect.
From that moon example, I understand how to do it in a simple way.

But i am still confused how do i do this with frame effect

Re: How to do this effect? (Image Attached)

Posted: 2012-06-16T10:28:04-07:00
by fmw42
see http://www.imagemagick.org/Usage/thumbnails/#polaroid

Put white borders around a small transparent image. Then rotate it to various orientations and place each in a different spot over your image.

Re: How to do this effect? (Image Attached)

Posted: 2012-06-16T13:46:18-07:00
by Bonzo
I do not think that would work fmw42 as the border from any images below would show through as well? You would also need the holes through the leopard pattern as well.

Personaly I would go for the Gimp method and create the top image with the leopard skin pattern and transparent holes to overlay over the photo.

Re: How to do this effect? (Image Attached)

Posted: 2012-06-16T16:20:51-07:00
by fmw42
You are probably right one should composite all the frames in to a mask and then overlay that on the photo and then mask that onto the leopard skin.