Help please! I need a complex transformation

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
User avatar
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

Post by fmw42 »

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
Last edited by fmw42 on 2009-06-19T13:25:34-07:00, edited 1 time in total.
User avatar
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

Post by anthony »

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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply