1

I need an advice in image processing. I have WF application coded in C# which finds me a coordinates by given parameters and based on this coordinates I would like to crop the image to a circle and unfold this circle to a rectangle.

So just to summarize my questions - How should I correctly crop the image in pictureBox to a circle (ellipse) image and how to unfold this circle to a rectangle?

I hope I described my problem well and I will be very grateful for every advice about how should I continue.

4

1 回答 1

0

我想您希望将图像裁剪为一个圆圈,然后将该圆圈扩展为一个矩形?

这将是做到这一点的方法:http: //msdn.microsoft.com/en-us/library/system.windows.uielement.clip.aspx 然后您只需为 EllipseGeometry 设置动画以使其大于图像,然后可能如果您愿意,请删除剪辑。

于 2013-08-03T14:32:25.543 回答