Page 1 of 1

Heart Shape Smudge Challenge

Posted: 2013-12-18T08:34:23-07:00
by martyfm
Hello! I'm fairly new to ImageMagick and have been presented a problem from a client that I could use some help puzzling out.

The task at hand is to morph / distort user submitted photos into a heart shape. All images will be cropped square and resized to the same pixel dimensions.

Desired results:
Image

Image

In Photoshop this would be referred to as a smudge but I can't seem to find anything similar in ImageMagick.

I tried a few executions of using combinations of explode / bulge and pinch see below diagram - but the images were distorted beyond recognition.

Image

Any ideas or suggestions would be greatly appreciated!

Re: Heart Shape Smudge Challenge

Posted: 2013-12-18T08:46:50-07:00
by snibgo
"-distort shepards" can probably do the job. See http://www.imagemagick.org/script/comma ... hp#distort

Re: Heart Shape Smudge Challenge

Posted: 2013-12-18T10:55:10-07:00
by fmw42
It would be nice to have your input images to use for testing.

Re: Heart Shape Smudge Challenge

Posted: 2013-12-18T11:12:21-07:00
by martyfm
Good point!

Image

Image

Re: Heart Shape Smudge Challenge

Posted: 2014-05-05T05:46:19-07:00
by kopfnick
Hi,

i am currently researching the same effect and would also like to use imagemagick, was the proposed "-distort shepards" the "right" way?

Thanks,
Gerald

Re: Heart Shape Smudge Challenge

Posted: 2014-05-05T09:42:16-07:00
by fmw42
I tried a number of things (without spending too much time), but ultimately was not very successful.