简体   繁体   English

在C#中裁剪和编辑图像

[英]Crop & Edit Images in C#

I am looking to make a tool that allows me to basically edit images as you could in MS Paint. 我正在寻找一种工具,使我可以像在MS Paint中一样基本编辑图像。 I can currently draw shapes and pens on my image but i don't know how to: - Crop - Save New Image with Bitmap - Zoom in & Out on Image - Stretch Image Out - Rotate the Image If anyone could help with any part of this question it would be most appreciated, and i have put this all in one question to stop me posting multiple similar questions. 目前,我可以在图像上绘制形状和笔,但我不知道如何:-裁剪-使用位图保存新图像-放大和缩小图像-拉伸图像-旋转图像如果有人可以帮忙这个问题将不胜感激,我将所有这些问题都放在一个问题中,以阻止我发布多个类似的问题。

Thanks in Advance 提前致谢

Here is a tutorial with all you need. 这是您所需的所有教程

Rotation sample here. 旋转样本在这里。

If you use WPF check this out . 如果使用WPF, 请检查此内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM