For example: -region 100x100+50+50 is "only" a rectangle.
Is there a possibility to make complex regions such as polygons, or are only rectangles practicable?
Thanks in advance,
wurzelmac
Complex regions
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Complex regions
use -mask rather than -region and build your own mask shape using -draw
see
http://www.imagemagick.org/Usage/masking/#write_mask
http://www.imagemagick.org/Usage/draw/#primitives
see
http://www.imagemagick.org/Usage/masking/#write_mask
http://www.imagemagick.org/Usage/draw/#primitives
Re: Complex regions
Thanks for this very quick reply, much appreciated!
wurzelmac
wurzelmac
Re: Complex regions
Another question: Is it possible to "pixelize" an area that was specified with -draw like in the attached screenshot?
Thanks in advance, wurzelmac
Thanks in advance, wurzelmac
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Complex regions
To pixelize:
convert rose: -scale 10% -scale 1000% show:
convert rose: -scale 10% -scale 1000% show:
Re: Complex regions
What a prompt help - thanks again!
Oh, and it seems to be that I have forgotten a bit of nettiquette: I am new here - thanks for every help, much appreciated!
Thanks a lot,
wurzelmac
Oh, and it seems to be that I have forgotten a bit of nettiquette: I am new here - thanks for every help, much appreciated!
Thanks a lot,
wurzelmac