在.net中保存图片 [英] saving picture in .net

查看:170
本文介绍了在.net中保存图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了移动应用程序并安装在iphone中,我必须在一个窗口中拍照并将其保存在某处
在手机内部,当我检索特定数据时,图片也应从对应的查找器中检索.

[edit]删除了伪代码块-OriginalGriff [/edit]

i have developd mobile application and installed in i phone, in one window i have to take photo and save it somewhere
inside the phone and when i retrive the particular data the picture also should be retrive from corresponding foder.

[edit]Spurious code block removed - OriginalGriff[/edit]

推荐答案

如果这确实是.NET而不是iPhone,那么保存和加载图像很容易:

If this is really .NET, rather than iPhone, then saving and loading images is easy:

myImage.Save(@"F:\Images\myImageFile.jpg", ImageFormat.Jpg);


Image myImage = Image.FromFile(@"F:\Images\myImageFile.jpg");


这篇关于在.net中保存图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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