[magick-users] How to make a perspective from an image?

Alberto Simões hashashin at gmail.com
Thu Jun 21 05:15:54 PDT 2007


Hi

The script linked in
http://www.imagemagick.org/Usage/scripts/perspective_transform
is not available.

Thankyou
Alberto

On 6/18/07, Ross Presser <rpresser at gmail.com> wrote:
> See http://www.imagemagick.org/Usage/distorts/#perspective
>
> Briefly, perspective transformation is *not* an affine transformation.
> Affine transformations include only scaling, shearing, rotating and
> translating, none of which can alter the ratio of lengths in the way
> that perspective requires.  Therefore the -affine option isn't going
> to cut it.  You have to do heavier lifting using the -fx option, using
> numbers calculated using the perl script on that page (or a similar
> method).
>
> (I ran into a similar wall several years ago with Postscript.)
>
> On 6/18/07, Alberto Simões <hashashin at gmail.com> wrote:
> > Hi
> >
> > I am trying to modify an image putting it in a perspective-like
> > position, like this:
> >
> >
> >   |\
> >   |  \
> >   |    \
> >   |     |
> >   |     |
> >   |    /
> >   |  /
> >   |/
> >
> > I tried to use the -affine option, with a matrix I got with
> > 'transform' tool on gimp, but I couldn't get this type of
> > modification.
> >
> > Does anybody can help me with this?
> > Thank you
> > Alberto
> >
> > --
> > Alberto Simões
> >
> > _______________________________________________
> > Magick-users mailing list
> > Magick-users at imagemagick.org
> > http://studio.imagemagick.org/mailman/listinfo/magick-users
> >
>


-- 
Alberto Simões



More information about the Magick-users mailing list