?
=?iso-8859-1?B?Q2zpbWVudA==?=
Hi!
I download images which have no extension, with a System.Net.WebClient.
I would like to save them with a different name and with the extension
..jpg if they really are of JPEG type. Because sometimes I could receive
GIF images, and I would like to do the same.
I tried to look for the image type in the WebClient object, but I
didn't find anything.
And once the file has been saved without an extension on my computer,
when I right-click on it, and then Properties and Summary, Windows
seems to know that it is a JPEG or a GIF file.
I read on the internet that these informations are contained in the
IPTC datas, but I have no idea on how to get them from the file.
Any ideas for that would be welcome.
Thx in advance.
It is pretty much a hurry!!
Clement
I download images which have no extension, with a System.Net.WebClient.
I would like to save them with a different name and with the extension
..jpg if they really are of JPEG type. Because sometimes I could receive
GIF images, and I would like to do the same.
I tried to look for the image type in the WebClient object, but I
didn't find anything.
And once the file has been saved without an extension on my computer,
when I right-click on it, and then Properties and Summary, Windows
seems to know that it is a JPEG or a GIF file.
I read on the internet that these informations are contained in the
IPTC datas, but I have no idea on how to get them from the file.
Any ideas for that would be welcome.
Thx in advance.
It is pretty much a hurry!!
Clement