goldengel / exiflibrary

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

Problem saving and reading Windows related tags (e.g. Windows title) #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using VB.net 4.0
2.code:
Dim file As ExifLibrary.ImageFile

file = ExifLibrary.ImageFile.FromFile(TextBox1.Text)

file.Properties.[Set](ExifTag.WindowsTitle, "A title", )

3.No data available visible when accessed from windows folder explorer and 
exifLibrary returns gibberish when reading data set by Windows explorer. 

Other tags such as GPS related, UserComment etc work perfectly

What is the expected output? What do you see instead?
The text "A title", but get gibberish

What version of the product are you using? On what operating system?
latest version on windows vista

Is this issue specific to a certain image? If so, please attach the zipped
image. IMPORTANT: Please zip the image and attach the zip file to prevent
the image being re-encoded.

Please provide any additional information below.

Original issue reported on code.google.com by m...@oceanvision.com.au on 27 Apr 2011 at 5:19

GoogleCodeExporter commented 8 years ago
Can you please post the image(s) too?

Original comment by oozcitak on 29 Apr 2011 at 1:39

GoogleCodeExporter commented 8 years ago
I Have attached 2 copies of the same image:
UsingExifLibrary.jpg - has the Latitude , LatitudeRef, WindowsTitle, 
WindowsAuthor all set using EXIFLIBRARY

UsingWindows.jpg - has the Latitude , LatitudeRer are set using EXIFLIBRARY and 
WindowsTitle, WindowsAuthor set using Windows file property dialog.

WindowsTitle = A Title 
WindowsAuthor = An Author

Thanks for looking at this.

Original comment by m...@oceanvision.com.au on 1 May 2011 at 4:03

Attachments:

GoogleCodeExporter commented 8 years ago
Just an update.  Appears  that it is only the setting of a new property value 
that causes a problem as ExifLibrary reads the Windows titles etc correctly.

matt

Original comment by m...@oceanvision.com.au on 21 May 2011 at 8:37

GoogleCodeExporter commented 8 years ago
Thanks for the feedback. I am adding a new overload to 
ExifFile.Properties.Set() for windows string tags.

Ozgur

Original comment by oozcitak on 23 May 2011 at 9:57

GoogleCodeExporter commented 8 years ago
Fixed by r78.

Original comment by oozcitak on 23 May 2011 at 9:57

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r78.

Original comment by oozcitak on 23 May 2011 at 10:00