how to get the properties of a bitmap?

Posted by BlueMonster on Stack Overflow See other posts from Stack Overflow or by BlueMonster
Published on 2012-03-26T05:21:17Z Indexed on 2012/03/26 5:28 UTC
Read the original article Hit count: 116

Filed under:

How would i grab a bitmap's copyright date? I've been googling around for some pointers in the right direction, can't seem to find much though. Any ideas?

        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;
        }

© Stack Overflow or respective owner

Related posts about c#