Image img = Image.FromFile(@"C:\file.jpg");
Now, how can I retrieve the original format (jpg) from img?
img.GetType().Name always returns "Bitmap".
- Peder -
"Peder Y" <pyd...@ec.auckland.ac.nz> wrote in message
news:10b28c6c.04091...@posting.google.com...
I don't think the Image class maintains that information at all. Your best
bet is to check the file extension.
-mdb
- Peder -
"Peter Rilling" <pe...@nospam.rilling.net> wrote in message news:<uI2GXSdm...@tk2msftngp13.phx.gbl>...