resize a subsection around the face, then mask it back over the image
or
use -distort barrel
see my pinbarrel script (written before -distort barrel) for the girl in the green dress pincushion example.
http://www.fmwconcepts.com/imagemagick/ ... /index.php
see also -implode http://www.imagemagick.org/Usage/warping/#implode
also see my (inverted example) bump script at http://www.fmwconcepts.com/imagemagick/bump/index.php
Help please! I need a complex transformation
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Help please! I need a complex transformation
Last edited by fmw42 on 2009-06-19T13:25:34-07:00, edited 1 time in total.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Help please! I need a complex transformation
You can also 'implode' the area
http://www.imagemagick.org/Usage/warping/#implode
and limit the the range (and adjust the center) using Regions
http://www.imagemagick.org/Usage/warping/#regions
Which basically extracts the region. implodes and puts it back.
http://www.imagemagick.org/Usage/warping/#implode
and limit the the range (and adjust the center) using Regions
http://www.imagemagick.org/Usage/warping/#regions
Which basically extracts the region. implodes and puts it back.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/