Currently the ONLY way this can be done in IM is to use a distortion map.
See
http://www.cit.gu.edu.au/~anthony/graph ... stort_maps
and more specifically the internal IM displacement map composite method
http://www.cit.gu.edu.au/~anthony/graph ... /#displace
However there has been talk of adding some sort of mesh distortion map function, but no action.
The best suggestion I have is to look into a specialized mesh distorter.
See http://xmorph.sourceforge.net/
Both IM distrortion maps and Xmorph mesh methods still leave the problem of generating the data needed to do the distortion on your image. This is one area I am particularly interested in, and why the first link above is fairly verbose.
If you manage to take this further, be sure to let the rest of us know of your success, and what you did to achieve it. Users on this list are usally very interested.
Request: ImageMagick remapping
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/