[magick-users] pythonmagick in general and transformSkewX

Vangelis Katsikaros ibob17 at yahoo.gr
Tue Sep 30 06:49:57 PDT 2008


Pete Whatever wrote:
> Hi Vangelis,
> 
> Yes. It only occurs in two of the Magick++ header files and other than that there's no actual code for it.  I don't know how to use Magick++ (I know C, not C++) or Python so I'm afraid there's probably not much else I can help you with. It might be worthwhile for you to post your question in the IM User's Forum http://www.imagemagick.org/discourse-server/index.php
> 
> However, are you actually trying to do what in IM is called shear? In Magick++ there's a shearImage function (method?) which is defined like this:
>     shearImage( const double xShearAngle_,const double yShearAngle_ );
> 
> Maybe that is what you are actually trying to do?

I have been kindly offered some suggestions and I managed to use shear 
(not shearImage in pymagik...).

However, what I want to do is not shear, so I should describe better 
what I want to do, in order to get help on how to do it :
http://www.flickr.com/photos/76229043@N00/2901995980/

I want to take the red image and be able to transform it, as seen in the 
pic  (ie convert the square image to a trapezoid).


If you have any suggestions, they are welcome :)

Regards
Vangelis



More information about the Magick-users mailing list