[magick-users] Size of the output image when using the -fx operator
Hugemann
Auto at Hugemann.de
Sat Dec 16 06:26:59 CST 2006
Hi,
I am still working on the projective transformation of images, see
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/distorts/#perspective
One of the problems I meet is that if I want to rectify a complete
perspective photograph, the output image usually has not the same size
as the input image. By default, the -fx operator creates an output image
of the same size as the input image.
At the moment, I solve this problem by calculating the dimensions of the
output image and enlarging the input image as needed by adding a white
border.
Is there a more direct way to handle this?
Wolfgang Hugemann
More information about the Magick-users
mailing list