goldengel / exiflibrary

Automatically exported from code.google.com/p/exiflibrary
MIT License
0 stars 0 forks source link

System.ArgumentOutOfRangeException was unhandled (Year, Month, and Day parameters describe an un-representable DateTime.) #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Certain pictures throw this error when executing ExifFile.Read("MyImage")
2. One image attached, taken with a mobile phone
3.

What is the expected output? What do you see instead?
The date and time the image was taken.
Now the Read command fails and throws an error. It should catch the error and 
then continue to the next key instead of getting stuck and throwing an general 
error.

What version of the product are you using? On what operating system?
ExifLibrary version 0.14.0.0 on Win Xp Pro.
Image was taken with a mobile phone (see attachment)

Please provide any additional information below.
Most pictures go well, but sometimes ExifLibrary crashes on certain keys or 
values. It shoud just skip these and continue :)
Great tool btw!

Original issue reported on code.google.com by Stieve...@gmail.com on 18 Nov 2010 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
Forgot my development environment: Visual Studio 2010 Pro with C#.

Original comment by Stieve...@gmail.com on 18 Nov 2010 at 1:52

GoogleCodeExporter commented 8 years ago
Hi,

Above image doesn't seem to contain any Exif tags, hence I can't reproduce the 
issue you reported. Can you check the image?

Thanks,
Ozgur

Original comment by oozcitak on 29 Nov 2010 at 8:59

GoogleCodeExporter commented 8 years ago
If you are sure this is the correct image, can you please attach it in a zip 
archive to make sure it is not re-encoded?

Original comment by oozcitak on 29 Nov 2010 at 9:21

GoogleCodeExporter commented 8 years ago
Closing due to lack of feedback.

Original comment by oozcitak on 29 Dec 2010 at 4:09