ScaleRotateTranslateDistortion + Bestfit = Clipped Image
Posted: 2012-11-14T09:59:11-07:00
I noticed when using the distort method (with ScaleRotateTranslateDistortion), the bestfit argument does not resize the image to include all pixels involved in the distortion. For example, if you set the final distort arguments (nx,ny) to a non-zero value, the best fit argument does not increase the size of the canvas to match the new X & Y location, and thus the distorted image is clipped or entirely blank (depending on how much you shift the nx & ny).
Is this by design, or perhaps a bug with the 'ScaleRotateTranslateDistortion' distort method?
Thanks!
-Jonathan
Is this by design, or perhaps a bug with the 'ScaleRotateTranslateDistortion' distort method?
Thanks!
-Jonathan