How to fit an image into a path?

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
marcospassos
Posts: 13
Joined: 2014-09-26T08:23:47-07:00
Authentication code: 6789

How to fit an image into a path?

Post by marcospassos »

Hi folks!

I would like to fit a image into a path. I've read all the documentation about the distortions maps available but I still can't figure out how I can fit (not clip) an image into a mask or a path.



Original image:
Image

Path:
Image

Desirable result:
Image

Does anyone have any idea how can I achieve a similar result?
Post Reply