Community
cancel
Showing results for 
Search instead for 
Did you mean: 
72 Views

ippiRotate and non-square image (width != height)

Can I use ippiRotate to rotate a 640x480 image without loosing any part of the image? Right now I keep loosing the right side of the image (160 columns of the original orientation). The documentation is leading me to believe that you only get the intersection of the source and destination ROI's, but isn't there a way to rotate a rectangle without loosing part of the image?

Thanks.
0 Kudos
1 Reply
petemoss
Beginner
72 Views

You can rotate cleanly if you rotate into a larger canvas. Make a larger image buffer, with a larger ROI, and use that as the Dest. If you rotate into an image of the same size, then you will lose part of the image, because there is no where to put it.
Reply