| View previous topic :: View next topic |
| Author |
Message |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Tue Mar 24, 2009 3:51 pm Post subject: |
|
|
Hello tbeu,
| Quote: | | Is a multiple choice field allowing values from 1 to 8 alright for you? |
I think that that would be enough, in this way all possible combinations of the EXIF orientation are covered.
This could be useful, even for locate, select pictures, etc with certain attribute.
Thanks for considering.  _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Sat Apr 04, 2009 3:37 pm Post subject: |
|
|
There is now a generic Exiv2 interface, i.e. virtually any metadata can be displayed and edited. Please uncomment the appropriate field line in file jpg-comment.ini to also incorporate the orientation metadata.
Download Vs 2.2.0.1: ReadMe, Plugin, Source (C++) _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Mon Apr 06, 2009 11:02 am Post subject: |
|
|
Hello tbeu!
Thank you so much, for this improvement added to your plugin.
I have been playing a bit with it, seems works fine under Windows XP SP3. The tests were done with different pictures taken from different cameras Nikon, HP and with JPG files without any metadata. All apparently successfully changing the tag for exif orientation, also for find pictures with a determinate tag orientation.
A little problem that only happens in Windows Vista home premium 32bit. The next message is shown by TC when I change the tag orientation with your plugin: | Quote: | ---------------------------
C:\Totalcmd\Plugins\wdx\jpg-comment\DSCN5265.JPG
---------------------------
Error setting the following attribute:
Orientation
Continue?
---------------------------
Sí No
---------------------------
|
Anyway the plugin does the operation of change the attributes. These settings were used in Vista.
Regards. _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Mon Apr 06, 2009 11:21 am Post subject: |
|
|
I have no Vista to reproduce, sorry. Maybe it is related to http://ghisler.ch/board/viewtopic.php?p=162798 because you set orientation field twice. I think we should wait for TC 7.5 to see if the error still occurs. _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Mon Apr 06, 2009 12:41 pm Post subject: |
|
|
Hi Again,
A little of info: Using only a field for set the exif orientation, the error happened too.
Added:
Hmmmh... The problem seems affect to all fields, not only for the exif orientation and only in windows vista. The previous version 2.1.5 have the same problem. Should I check my system? or... Could somebody confirm, please? _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Mon Apr 06, 2009 3:34 pm Post subject: |
|
|
Sombra, can you please check with exiv2.exe Vs. 0.18.1!
exiv2.exe -M "set Exif.Image.Artist Test" file.jpg _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Mon Apr 06, 2009 4:19 pm Post subject: |
|
|
I tried the next commands:
exiv2.exe -M "set Exif.Image.Artist Test" DSCN5434.JPG
exiv2.exe -M "set Exif.Image.Orientation 6" DSCN5434.JPG
Both command worked fine in Windows Vista and XP.
The strange is that TC show the error message, but your plugin change the attributes finely. _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Tue Apr 07, 2009 12:23 am Post subject: |
|
|
When using the plugin what is the time stamp of the file after the field change? Either the original time/date or the current one? _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Tue Apr 14, 2009 4:31 pm Post subject: |
|
|
Hello tbeu,
| Quote: | | Either the original time/date or the current one? |
Creation date/time remain, while that the access date and write date is changed to the current time on my system.
Also happens the next: Selecting SEVERAL pictures and applying the change attribute, TC show the error, then if I select continue, the plugin change the orientation, I can press three or four times "continue" and after these three or four times (randomly) the plugin stop. I have to re-open the change attributes dialog for continue changing the attribute to the rest of pictures selected. _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Wed Apr 15, 2009 7:49 am Post subject: |
|
|
Sorry Sombra, no idea left. Do you have debugging experience using VS 2008? _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Wed Apr 15, 2009 4:40 pm Post subject: |
|
|
| Quote: | | Do you have debugging experience using VS 2008? |
Unfortunately no, sorry. _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Thu Apr 16, 2009 12:23 am Post subject: |
|
|
Is it still reproducable using Beta Vs 2.2.0.2 of the plugin? If so, I am afraid we need some more users to reproduce the erroneous plugin behaviour. Additionally I can also compile a special debug Vs with exception messages for you. Let's see...
Download Vs 2.2.0.2: ReadMe, Plugin, Source (C++) _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Thu Apr 16, 2009 11:03 am Post subject: |
|
|
I prepared an instrumented Vs 2.2.0.4 of the plugin raising exception messages useful for debugging. I also fixed a potential bug in ContentSetValue() when getting no file access for retrieving the time stamp. Can you please test again!
Download Vs 2.2.0.4: ReadMe, Plugin _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
Sombra Power Member


Joined: 27 Dec 2005 Posts: 768 Location: Zaragoza, Spain
|
Posted: Sun Apr 19, 2009 2:32 pm Post subject: |
|
|
Hello tbeu!
Sorry for the late reply.
| Quote: | | Is it still reproducable using Beta Vs 2.2.0.2 of the plugin? | Yes, same problem that in previous version.
| Quote: | | I prepared an instrumented Vs 2.2.0.4 of the plugin raising exception messages useful for debugging. | Thank you very much for your interest tbeu. I tried this version on Windows Vista home premium SP1. Exception happened, but not many info was shown These settings were used in change attributes dialog:
Plugin: jpg-comment ; Property: Exif_Image_Orientation ; Value: right,bottom
Debug error: | Code: | ---------------------------
C:\Totalcmd\Plugins\wdx\jpg-comment\DSCN5390.JPG
---------------------------
Error @ CreateFile for reading
---------------------------
Aceptar
--------------------------- |
The next... same error que in previous version: | Code: | ---------------------------
C:\Totalcmd\Plugins\wdx\jpg-comment\DSCN5390.JPG
---------------------------
Error setting the following attribute:
Exif_Image_Orientation
Continue?
---------------------------
Sí No
--------------------------- |
The difference was that with version 2.2.0.4 the attribute was not applied to the picture. (In previous version, attribute was changed)
2ALL
Could someone confirm this error changing attributes with this plugin under Windows vista? Please. _________________ I can read English, but... I write like Tarzan. (sorry) |
|
| Back to top |
|
 |
tbeu Power Member


Joined: 04 Jul 2003 Posts: 1020 Location: Germany
|
Posted: Mon Apr 20, 2009 12:42 am Post subject: |
|
|
This debug information is sufficient for me. Now I know which operation failes. It is API function CreateFile (with read access) when the last field is to be set. The error is not in the Exiv library but in the plugin.
I changed for 2.2.0.4 that metadata will not be written to file if CreateFile (with read access) failes. I will rework the file time setting for the next version.
Thank you for testing and debugging! _________________ My plugins: Autodesk 3ds Max Preview, Blat Mailer, ImageMetaData (JPG Comment/EXIF/IPTC/XMP) , MATLAB MAT-file Viewer, SolidWorks Preview and more |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|