"Cliff Pratt" on wrote...
| Forgive this question if it is obvious to the Magick gurus, but I'm
| just a beginner. I've scoured the docs as much as I can and I cannot
| find a way of doing what I want.
|
| I want to compress an image into a wedge. To be more specific, suppose
| I have an image that is 200 x 400. I want compress the image up so
| that the bottom edge becomes the diagonal from top left to bottom
| right, and all pixels are moved up above the diagonal proportionately.
|
| How do I accomplish this? Does this explanation even make sense? 8-)
|
It is called perspective transform and a DIY solution have been detailed
in IM Examples, Distorting Images, Perspective Transform (DIY)
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/distorts/#perspective
Plans are present to for a faster built-in version to be added to IM.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Wiz : Our explanations are real. A virtual explanation would be
something that acted like an explanation, but wasn't.
Moira : I rest my case. -- Rick Cook, "Wizardry Cursed"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users