Page 1 of 1

Posted: 2006-10-28T15:05:26-07:00
by Bonzo
I would guess you need to use -shear, probably a couple of times on each axis.

http://www.imagemagick.org/script/comma ... .php#shear

Posted: 2006-10-29T20:25:12-07:00
by anthony
Sorry Bonzo, but shears and rotates, and even Affine Matrix distortions do not work.

That would need at least one non-linear perspective, or trapeziodal distortion, and that is currently not directly probably with IM. IM can only do it by using a general distortion or displacement map, but you have the same problem generating that map as you do for the original problem.

It is however easier when you can define the mathematics to generate the distortion, encoding it into a X and Y distortion image for repeated use.

If you have any ideas for generating such a non-linear distortion, a lot of people would be interested.

Some non-IM solutions include.... Povray, XMorph and expensive graphic manipulation software used commercially. You could also use some photoshop/gimp programs to generate distortion maps, for repeated batch use.