[SOLVED] image masking

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
suciuvlad
Posts: 9
Joined: 2010-08-25T03:48:48-07:00
Authentication code: 8675308

[SOLVED] image masking

Post by suciuvlad » 2010-09-20T01:59:44-07:00

I have a circle and a image. How can i insert the image into the circle in a way that everything that exceeds the border of the circle should not be visible?
Thanks.
Last edited by suciuvlad on 2010-09-20T14:06:43-07:00, edited 1 time in total.

lwhistler
Posts: 23
Joined: 2010-09-15T15:33:29-07:00
Authentication code: 8675308

Re: image masking

Post by lwhistler » 2010-09-20T02:09:02-07:00

I would crop all images the same size as the circle image.


-----

suciuvlad
Posts: 9
Joined: 2010-08-25T03:48:48-07:00
Authentication code: 8675308

Re: image masking

Post by suciuvlad » 2010-09-20T04:25:42-07:00

its not a viable option because the images should be rounded like the circle.

Bonzo
Posts: 2970
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: image masking

Post by Bonzo » 2010-09-20T04:39:10-07:00


lwhistler
Posts: 23
Joined: 2010-09-15T15:33:29-07:00
Authentication code: 8675308

Re: image masking

Post by lwhistler » 2010-09-20T09:39:40-07:00

This might help, it's a bash script I made to remove dust spots from images using a mask.

viewtopic.php?p=63565#p63565


---------------------

suciuvlad
Posts: 9
Joined: 2010-08-25T03:48:48-07:00
Authentication code: 8675308

Re: [SOLVED] image masking

Post by suciuvlad » 2010-09-20T14:07:04-07:00

thanks for your help.

Post Reply