goldengel / exiflibrary

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

Exif Tag UserComent not compatible with Windows 7 property editor #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Edit a comment from windows 7 property editor
2. Exif fails to read the UserComment
3. Write a UserComment, windows 7 does see it
4. At some point reading/writing UserComment and editing in windows 7 the 
Exif data become corrupt

Unhandled Exception: System.OverflowException: Arithmetic operation 
resulted in
an overflow.
   at ExifLibrary.ExifPropertyFactory.Get(UInt16 tag, UInt16 type, UInt32 
count,
 Byte[] value, ByteOrder byteOrder, IFD ifd)
   at ExifLibrary.ExifFile.ReadExifAPP1()
   at ExifLibrary.ExifFile.Read(String filename)
   at UtilApp.Program.Main(String[] args) in 
C:\Users\mike\VsProjects\UtilApp\Pr
ogram.cs:line 25
Press any key to continue . . .

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by mcofe...@gmail.com on 17 Nov 2009 at 3:16

GoogleCodeExporter commented 8 years ago
I have identified and fixed a bug in the UserComment section. Unfortunately, I 
do not 
have a Windows 7 machine to test it. Can you attach the image after you write 
the 
UserComment in Windows 7?

Original comment by oozcitak on 17 Nov 2009 at 9:14

GoogleCodeExporter commented 8 years ago
Fixed in v0.9.

Original comment by oozcitak on 21 Jan 2010 at 1:55