如何另存为图片? [英] How to save as picture?
本文介绍了如何另存为图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚创建了一个简单的网页,其中在面板内有一个PictureBox,PictureBox允许用户导入图片,而Panel则允许用户插入颜色,那么如何将其导出/保存为.jpeg文件?
I just created a simple webpage in which there is a PictureBox inside a Panel, the PictureBox allow users to import picture, and the Panel allow the user to insert color, so how can i export / save it as .jpeg file?
推荐答案
pictureBox1.Image.Save(filePath, ImageFormat.Jpeg);
请查阅此MSDN 参考以获取更多知识.
Check this MSDN reference for further knowledge.
这篇关于如何另存为图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文