[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 »

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 »

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 »

its not a viable option because the images should be rounded like the circle.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: image masking

Post by Bonzo »

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

Re: image masking

Post by lwhistler »

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 »

thanks for your help.
Post Reply