On Jun 15, 8:29 am, "Mobileboy36" <Mobilebo...@gmail.comwrote:
I'm searching a way to identify jpg files from a digital cam
Let's say we have 2 digital cameras C1 and C2 and 2 files JPG001.jpg from C1
and JPG001.jpg from C2. Is there a way to distinct the 2 files from each
other, reading a certain position in the stream of bytes? Or better, does
anyone have a example piece of vb.net code?
JPG files support a multitude of embedded imformation called EXIF
data. Naturally, you do not see this data when you just view the image
itself. But a program can retrieve it. Virtually all of today's
digital cameras support EXIF and create the JPGs with the EXIF data
there. When you cycle through the images while they are still in the
camera there is probably a button you can press that displays when the
photo was taken and varous camera settings at the time it was taken.
That is the EXIF data. Once the JPG reaches your computer this EXIF
data is still there and can be interpeted. Download the freeware
program FastStone to see how this data can be viewed with an image
editor. You can write code in your VB.NET program to display this EXIF
data but I have not taken the time to write anything like that because
my primary digital camera has a flaw that causes it to not store a key
piece of information (ISO) so I have put that project off. But there
are various EXIF DLLs you can get, just do a Google search on EXIF
Software.