将图像保存到特定的文件路径. [英] Saving Image to specific file path.

查看:104
本文介绍了将图像保存到特定的文件路径.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天!全部,请不要将图片框中的图像保存到特定的文件夹中,而无需调用保存对话框,只需单击我的应用程序上的保存按钮,然后将文件直接保存到指定的文件夹中,如何实现?

关于

Good Day! all, Please I want to save an image form a picture box to a specific folder without invoking the save dialogue box, just to click the save button on my application and the file save directly to the specified folder, how can I achieve this?

Regards

推荐答案

尝试:
myPictureBox.Image.Save("c:\myBitmap.bmp")


PictureBox.Image.Save("c:\ myBitmap.bmp")
PictureBox.Image.Save("c:\ myjpg.jpg")
PictureBox.Image.Save("c:\ mygif.gif")
PictureBox.Image.Save("c:\myBitmap.bmp")
PictureBox.Image.Save("c:\myjpg.jpg")
PictureBox.Image.Save("c:\mygif.gif")


这篇关于将图像保存到特定的文件路径.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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