如何旋转,缩放图像并将其保存到文件? [英] How do I rotat, scale, and save an image to a file?

查看:135
本文介绍了如何旋转,缩放图像并将其保存到文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VB.NET用户

我想从文件加载图像,然后使用Graphics类旋转和缩放它,然后将其保存到文件中。



我尝试了什么:



我设法从文件中加载图像来创建图形类对象。

我设法在窗体上旋转,缩放和绘制它。

但是我不知道如何将它保存到文件中。

I'm VB.NET user
I want to load an image from file , then rotating and scaling it using Graphics class, then saving it to a file.

What I have tried:

I managed to load an image from file to create a graphics class object.
I managed to rotate, scale, and draw it on form.
but I failed to know how to save it to a file.

推荐答案

你的问题有点过于通用,无法在论坛上回答,但谷歌是你的朋友。



尝试这样的事情得到一个想法和一个起点,并就你遇到的具体问题提出一个问题。





如何:旋转,反映和歪斜图像 [ ^ ]
Your question is a bit too generic to answer on a forum, however google is your friend.

Try something like this to get a idea and a starting point and raise a question on specific issues you are having.


How to: Rotate, Reflect, and Skew Images[^]


这篇关于如何旋转,缩放图像并将其保存到文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆