How to save an image in it's original format?
- by Patrick Klug
I am trying to figure out how I can get the original format of an image so that I can store it with the same encoding.
It seems that the only way to save an Image is by using a BitmapEncoder but I don't know how I can get the correct format from the image.
Example:
Clipboard.GetImage() returns a InteropBitmap which doesn't seem to contain any…