How can I obtain human readable string(i.e. image format itself) from System.Drawing.ImageFormat object?
I mean if I have ImageF
ImageF
Use the ImageFormatConverter class from the System.Drawing namespace:
this.imageInfoLabel.Text = new ImageFormatConverter().ConvertToString(this.Image.RawFormat);
For a PNG image it returns Png, and so on.