本文介绍了变换矩形图像变成梯形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在.NET我怎么可以把图像变成梯形。Matrix类支持旋转,剪切等,但我看不到一个梯形的转变。

我使用的是常用的System.Drawing中。* API,但我灵活地与其他.NET解决方案。

解决方案

我刚刚发现这一点: http://www.vcskicks.com/image-distortion.html

它的伟大工程

In .NET how can I transform an image into a trapezoid.The Matrix class supports rotation, shear, etc, but I can't see a trapezoidal transformation.

I'm using the usual System.Drawing.* API, but I'm flexible to other .NET solutions.

解决方案

I just found this:http://www.vcskicks.com/image-distortion.html

It works great

这篇关于变换矩形图像变成梯形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-15 00:19