I'm trying to automatically开发者_如何学C straighten an image so that a grid is aligned with the picture.
However, whenever I do the manipulation there is a white border around the image.
Can anybody help me with this problem?
I managed to solve it, turns out I had some values the wrong way round, which forced virtual pixels to be made.
精彩评论