如何从位图获取版权日期?如何获取位图的属性?
private void toolStripMenuItemLoadImage_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Title = "Load Image";
if (ofd.ShowDialog() == DialogResult.OK)
{
firstLoaded = new Bitmap(ofd.FileName);
String details = //Grab the copyright date of the image here;
this.Invalidate();
}
}
isLoaded = true;
}
你是什么意思版权日期? – SimpleVar 2012-03-26 05:22:49
对于这样的事情,位图文件格式没有空间。 – 2012-03-26 05:24:12
我的意思是像图片的创建日期,最后修改等等的东西...这可能吗? – BigBug 2012-03-26 05:30:55