ImageMetaData (set/edit EXIF/IPTC/XMP-metadata and Comment of image files by Exiv2 lib) content plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Sombra, I hope the problem is fixed now. Could you please check again. Thanks!

Download Vs 2.2.0.5: ReadMe, Plugin
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Hello tbeu,
This debug information is sufficient for me
Glad to hear it.

YES :). Problem is gone completely in version 2.2.0.5. Checked with multiple selections and changing several attributes at once.

Thank you very much for your good work and persistence in solve this issue. :D
I can read English, but... I write like Tarzan. (sorry)
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2tbeu
Last properly working version for me is 2.1.0.4.

Do you have any idea why there are no fields shown at all for newer ones?

I've tried different TC versions and results are still the same.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

2fenix_productions

As I can see, in the current version 2.2.0.5 (and previous) The fields are defined in "jpg-comment.ini". Do you have this file in same directory that jpg-comment.wdx?
If not, you can get this file in the package 2.2.0.2.
I can read English, but... I write like Tarzan. (sorry)
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Sombra
Thank you. Now it works OK.

Strange thing was that jpg-comment.ini has been created automatically after first run but it's content was the same as for jpg-comment.lng.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Ini file handling is still to do, that's why I did not yet release the new package.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

JPG comment, EXIF, IPTC and XMP metadata plugin 2.2.0.7

Post by *tbeu »

Plugin Vs 2.2.0.7. has been released.

Download Vs 2.2.0.7: ReadMe, Plugin, Source (Visual C++ 2008 EE)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

Hello tbeu,

first of all, thanks a bunch for having generic field support added!

ATM, I'm setting up some fields for values from Canon makernotes and I try to define them as multiple choice fields wherever applicable. But when a tag contains a value, which is not in the multiple choice list, then TC crashes:
TotalCmd.exe wrote:TotalCmd.exe - Fehler in Anwendung
Die Ausnahme "Unbekannter Softwarefehler" (0xc0000417) ist in der Anwendung an der Stelle 0x******** aufgetreten.
Is it feasible just to pass the "raw" value (as reported by Exiv2), if no alternative display value is given (as mentioned in jpg-comment.ini)?
jpg-comment.ini wrote:; The remaining tokens are the possible multiple choice fields if field type equals 7.
; The choice tokens are set by: value=alternative display value
; If no alternative display value is given the data value is displayed instead.


These are my additional fields so far (jpg-comment.ini):

Code: Select all

200=6|-|Separator|0

201=1|SequenceNumber Canon|Exif.CanonSi.Sequence|0
202=1|SequenceNumber Fuji|Exif.Fujifilm.SequenceNumber|0
203=1|SequenceNumber Panasonic|Exif.Panasonic.SequenceNumber|0
204=8|Camera Make|Exif.Image.Make|0
205=8|Camera Model|Exif.Image.Model|0

300=6|-|Separator|0

301=8|LensModel|Exif.Canon.0x0095|0
;302=7|LensType|Exif.CanonCs.LensType|0|0=Indeterminate|48=Canon EF-S 18-55mm f/3.5-5.6 IS|160=Canon EF 20-35mm f/3.5-4.5 USM|197=Canon EF 75-300mm f/4-5.6 IS USM|198=Canon EF 50mm f/1.4 USM
302=7|LensType|Exif.CanonCs.LensType|0|0=Indeterminate|1=Canon EF 50mm f/1.8|2=Canon EF 28mm f/2.8|3=Canon EF 135mm f/2.8 Soft|4=Canon EF 35-105mm f/3.5-4.5 or Sigma Lens|5=Canon EF 35-70mm f/3.5-4.5|6=Canon EF 28-70mm f/3.5-4.5 or Sigma or Tokina Lens|7=Canon EF 100-300mm f/5.6L|8=Canon EF 100-300mm f/5.6 or Sigma or Tokina Lens|9=Canon EF 70-210mm f/4|10=Canon EF 50mm f/2.5 Macro or Sigma Lens|11=Canon EF 35mm f/2|13=Canon EF 15mm f/2.8 Fisheye|14=Canon EF 50-200mm f/3.5-4.5L|15=Canon EF 50-200mm f/3.5-4.5|16=Canon EF 35-135mm f/3.5-4.5|17=Canon EF 35-70mm f/3.5-4.5A|18=Canon EF 28-70mm f/3.5-4.5|20=Canon EF 100-200mm f/4.5A|21=Canon EF 80-200mm f/2.8L|22=Canon EF 20-35mm f/2.8L or Tokina Lens|23=Canon EF 35-105mm f/3.5-4.5|24=Canon EF 35-80mm f/4-5.6 Power Zoom|25=Canon EF 35-80mm f/4-5.6 Power Zoom|26=Canon EF 100mm f/2.8 Macro or Cosina or Tamron Lens|27=Canon EF 35-80mm f/4-5.6|28=Canon EF 80-200mm f/4.5-5.6 or Tamron Lens|29=Canon EF 50mm f/1.8 MkII|30=Canon EF 35-105mm f/4.5-5.6|31=Canon EF 75-300mm f/4-5.6 or Tamron Lens|32=Canon EF 24mm f/2.8 or Sigma Lens|35=Canon EF 35-80mm f/4-5.6|36=Canon EF 38-76mm f/4.5-5.6|37=Canon EF 35-80mm f/4-5.6 or Tamron Lens|38=Canon EF 80-200mm f/4.5-5.6|39=Canon EF 75-300mm f/4-5.6|40=Canon EF 28-80mm f/3.5-5.6|41=Canon EF 28-90mm f/4-5.6|42=Canon EF 28-200mm f/3.5-5.6 or Tamron Lens|43=Canon EF 28-105mm f/4-5.6|44=Canon EF 90-300mm f/4.5-5.6|45=Canon EF-S 18-55mm f/3.5-5.6|46=Canon EF 28-90mm f/4-5.6|48=Canon EF-S 18-55mm f/3.5-5.6 IS|49=Canon EF-S 55-250mm f/4-5.6 IS|50=Canon EF-S 18-200mm f/3.5-5.6 IS|124=Canon MP-E 65mm f/2.8 1-5x Macro Photo|125=Canon TS-E 24mm f/3.5L|126=Canon TS-E 45mm f/2.8|127=Canon TS-E 90mm f/2.8|129=Canon EF 300mm f/2.8L|130=Canon EF 50mm f/1.0L|131=Canon EF 28-80mm f/2.8-4L or Sigma Lens|132=Canon EF 1200mm f/5.6L|134=Canon EF 600mm f/4L IS|135=Canon EF 200mm f/1.8L|136=Canon EF 300mm f/2.8L|137=Canon EF 85mm f/1.2L|138=Canon EF 28-80mm f/2.8-4L|139=Canon EF 400mm f/2.8L|140=Canon EF 500mm f/4.5L|141=Canon EF 500mm f/4.5L|142=Canon EF 300mm f/2.8L IS|143=Canon EF 500mm f/4L IS|144=Canon EF 35-135mm f/4-5.6 USM|145=Canon EF 100-300mm f/4.5-5.6 USM|146=Canon EF 70-210mm f/3.5-4.5 USM|147=Canon EF 35-135mm f/4-5.6 USM|148=Canon EF 28-80mm f/3.5-5.6 USM|149=Canon EF 100mm f/2 USM|150=Canon EF 14mm f/2.8L or Sigma Lens|151=Canon EF 200mm f/2.8L|152=Canon EF 300mm f/4L IS or Sigma Lens|153=Canon EF 35-350mm f/3.5-5.6L or Sigma or Tamron Lens|154=Canon EF 20mm f/2.8 USM|155=Canon EF 85mm f/1.8 USM|156=Canon EF 28-105mm f/3.5-4.5 USM|160=Canon EF 20-35mm f/3.5-4.5 USM|161=Canon EF 28-70mm f/2.8L or Sigma or Tamron Lens|162=Canon EF 200mm f/2.8L|163=Canon EF 300mm f/4L|164=Canon EF 400mm f/5.6L|165=Canon EF 70-200mm f/2.8 L|166=Canon EF 70-200mm f/2.8 L + 1.4x|167=Canon EF 70-200mm f/2.8 L + 2x|168=Canon EF 28mm f/1.8 USM|169=Canon EF 17-35mm f/2.8L or Sigma Lens|170=Canon EF 200mm f/2.8L II|171=Canon EF 300mm f/4L|172=Canon EF 400mm f/5.6L|173=Canon EF 180mm Macro f/3.5L or Sigma Lens|174=Canon EF 135mm f/2L|175=Canon EF 400mm f/2.8L|176=Canon EF 24-85mm f/3.5-4.5 USM|177=Canon EF 300mm f/4L IS|178=Canon EF 28-135mm f/3.5-5.6 IS|179=Canon EF 24mm f/1.4L|180=Canon EF 35mm f/1.4L|181=Canon EF 100-400mm f/4.5-5.6L IS + 1.4x|182=Canon EF 100-400mm f/4.5-5.6L IS + 2x|183=Canon EF 100-400mm f/4.5-5.6L IS|184=Canon EF 400mm f/2.8L + 2x|185=Canon EF 600mm f/4L IS|186=Canon EF 70-200mm f/4L|187=Canon EF 70-200mm f/4L + 1.4x|188=Canon EF 70-200mm f/4L + 2x|189=Canon EF 70-200mm f/4L + 2.8x|190=Canon EF 100mm f/2.8 Macro|191=Canon EF 400mm f/4 DO IS|193=Canon EF 35-80mm f/4-5.6 USM|194=Canon EF 80-200mm f/4.5-5.6 USM|195=Canon EF 35-105mm f/4.5-5.6 USM|196=Canon EF 75-300mm f/4-5.6 USM|197=Canon EF 75-300mm f/4-5.6 IS USM|198=Canon EF 50mm f/1.4 USM|199=Canon EF 28-80mm f/3.5-5.6 USM|200=Canon EF 75-300mm f/4-5.6 USM|201=Canon EF 28-80mm f/3.5-5.6 USM|202=Canon EF 28-80mm f/3.5-5.6 USM IV|208=Canon EF 22-55mm f/4-5.6 USM|209=Canon EF 55-200mm f/4.5-5.6|210=Canon EF 28-90mm f/4-5.6 USM|211=Canon EF 28-200mm f/3.5-5.6 USM|212=Canon EF 28-105mm f/4-5.6 USM|213=Canon EF 90-300mm f/4.5-5.6 USM|214=Canon EF-S 18-55mm f/3.5-4.5 USM|215=Canon EF 55-200mm f/4.5-5.6 II USM|224=Canon EF 70-200mm f/2.8L IS|225=Canon EF 70-200mm f/2.8L IS + 1.4x|226=Canon EF 70-200mm f/2.8L IS + 2x|227=Canon EF 70-200mm f/2.8L IS + 2.8x|228=Canon EF 28-105mm f/3.5-4.5 USM|229=Canon EF 16-35mm f/2.8L|230=Canon EF 24-70mm f/2.8L|231=Canon EF 17-40mm f/4L|232=Canon EF 70-300mm f/4.5-5.6 DO IS USM|233=Canon EF 28-300mm f/3.5-5.6L IS|234=Canon EF-S 17-85mm f4-5.6 IS USM|235=Canon EF-S 10-22mm f/3.5-4.5 USM|236=Canon EF-S 60mm f/2.8 Macro USM|237=Canon EF 24-105mm f/4L IS|238=Canon EF 70-300mm f/4-5.6 IS USM|239=Canon EF 85mm f/1.2L II|240=Canon EF-S 17-55mm f/2.8 IS USM|241=Canon EF 50mm f/1.2L|242=Canon EF 70-200mm f/4L IS|243=Canon EF 70-200mm f/4L IS + 1.4x|244=Canon EF 70-200mm f/4L IS + 2x|245=Canon EF 70-200mm f/4L IS + 2.8x|246=Canon EF 16-35mm f/2.8L II|247=Canon EF 14mm f/2.8L II USM|249=Canon EF 800mm f/5.6L IS|65535=Unknown
303=7|ImageSize|Exif.CanonCs.ImageSize|0|0=Large|1=Medium|2=Small|5=Medium 1|6=Medium 2|7=Medium 3|8=Postcard|9=Widescreen|129=Medium Movie|130=Small Movie|65535=Unknown
304=7|RecordMode|Exif.CanonCs.0x0009|0|1=JPEG|2=CRW+THM|3=AVI+THM|4=TIF|5=TIF+JPEG|6=CR2|7=CR2+JPEG
305=7|Quality|Exif.CanonCs.Quality|0|1=Economy|2=Normal|3=Fine|4=RAW|5=Superfine|130=Normal Movie
306=7|ExposureProgram|Exif.CanonCs.ExposureProgram|0|0=Easy|1=Program AE|2=Shutter speed priority AE (Tv)|3=Aperture-priority AE (Av)|4=Manual (M)|5=Depth-of-field AE (A-DEP)|6=M-Dep|7=Bulb
307=7|EasyMode|Exif.CanonCs.EasyMode|0|0=Full auto|1=Manual|2=Landscape|3=Fast shutter|4=Slow shutter|5=Night|6=Gray Scale|7=Sepia|8=Portrait|9=Sports|10=Macro|11=Black & White|12=Pan focus|13=Vivid|14=Neutral|15=Flash Off|16=Long Shutter|17=Super Macro|18=Foliage|19=Indoor|20=Fireworks|21=Beach|22=Underwater|23=Snow|24=Kids & Pets|25=Night Snapshot|26=Digital Macro|27=My Colors|28=Still Image|30=Color Accent|31=Color Swap|32=Aquarium|33=ISO 3200|38=Creative Auto|261=Sunset
308=7|MeteringMode|Exif.CanonCs.MeteringMode|0|0=Default|1=Spot|2=Average|3=Evaluative|4=Partial|5=Center-weighted average
309=7|FocusMode|Exif.CanonCs.FocusMode|0|0=One-shot AF|1=AI Servo AF|2=AI Focus AF|3=Manual Focus (3)|4=Single|5=Continuous|6=Manual Focus (6)|16=Pan Focus
310=7|DriveMode|Exif.CanonCs.DriveMode|0|0=Single|1=Continuous|2=Movie|3=Continuous, Speed Priority|4=Continuous, Low|5=Continuous, High
311=7|FlashMode|Exif.CanonCs.FlashMode|0|0=Off|1=Auto|2=On|3=Red-eye reduction|4=Slow-sync|5=Red-eye reduction (Auto)|6=Red-eye reduction (On)|16=External flash
312=8|FlashActivity|Exif.CanonCs.FlashActivity|0
313=8|FlashDetails|Exif.CanonCs.FlashDetails|0
314=7|FlashBias|Exif.CanonSi.FlashBias|0|0=-|12=+1/3 EV|16=+1/2 EV|20=+2/3 EV|32=+1 EV|44=+4/3 EV|48=+3/2 EV|52=+5/3 EV|64=+2 EV|65472=–2 EV|65484=–5/3 EV|65488=–3/2 EV|65492=–4/3 EV|65504=–1 EV|65516=–2/3 EV|65520=–1/2 EV|65524=–1/3 EV

315=7|WhiteBalance|Exif.CanonSi.WhiteBalance|0|0=Auto|1=Daylight|2=Cloudy|3=Tungsten|4=Fluorescent|5=Flash|6=Custom|7=Black & White|8=Shade|9=Manual Temperature (Kelvin)|10=PC Set1|11=PC Set2|12=PC Set3|14=Daylight Fluorescent|15=Custom 1|16=Custom 2|17=Underwater|18=Custom 3|19=Custom 4|20=PC Set4|21=PC Set5
316=8|PictureStyle (-4)|Exif.Canon.0x00a0|0
317=7|PhotoEffect|Exif.CanonCs.PhotoEffect|0|0=Off|1=Vivid|2=Neutral|3=Smooth|4=Sepia|5=B&W|6=Custom|100=My Color Data|65535=Unknown
318=7|ColorSpace|Exif.Canon.0x00b4|0|1=sRGB|2=Adobe RGB
319=8|Sharpness (3)|Exif.Canon.0x00a0|0
320=7|Contrast|Exif.CanonCs.Contrast|0|0=0|1=+1|2=+2|3=+3|4=+4|5=+5|6=+6|7=+7|32767=M|65535=–1|65534=–2|65533=–3|65532=–4|65531=–5|65530=–6|65529=–7
321=7|Saturation|Exif.CanonCs.Saturation|0|0=0|1=+1|2=+2|3=+3|4=+4|5=+5|6=+6|7=+7|32767=M|65535=–1|65534=–2|65533=–3|65532=–4|65531=–5|65530=–6|65529=–7
322=7|ColorTone|Exif.CanonCs.ColorTone|0|0=0|1=+1|2=+2|3=+3|4=+4|5=+5|6=+6|7=+7|32767=M|65535=–1|65534=–2|65533=–3|65532=–4|65531=–5|65530=–6|65529=–7
323=7|Selftimer|Exif.CanonCs.Selftimer|0|0=-|20=2s|100=10s|16386=2s, Custom|16484=10s, Custom
324=8|DigitalZoom|Exif.CanonCs.DigitalZoom|0
325=7|ExposureCompensation|Exif.CanonSi.0x0006|0|0=-|12=+1/3 EV|16=+1/2 EV|20=+2/3 EV|32=+1 EV|44=+4/3 EV|48=+3/2 EV|52=+5/3 EV|64=+2 EV|65472=–2 EV|65484=–5/3 EV|65488=–3/2 EV|65492=–4/3 EV|65504=–1 EV|65516=–2/3 EV|65520=–1/2 EV|65524=–1/3 EV
326=8|BulbDuration|Exif.CanonSi.0x0018|0
327=7|AEBBracketValue|Exif.CanonSi.0x0011|0|0=-|12=+1/3 EV|16=+1/2 EV|20=+2/3 EV|32=+1 EV|44=+4/3 EV|48=+3/2 EV|52=+5/3 EV|64=+2 EV|65472=–2 EV|65484=–5/3 EV|65488=–3/2 EV|65492=–4/3 EV|65504=–1 EV|65516=–2/3 EV|65520=–1/2 EV|65524=–1/3 EV


And these are the associated german translations (jpg-comment.lng):

Code: Select all

SequenceNumber Canon=Sequenznummer Canon
SequenceNumber Fuji=Sequenznummer Fuji
SequenceNumber Panasonic=Sequenznummer Panasonic
Camera Make=Kamerahersteller
Camera Model=Kameramodell

LensModel=Objektiv (Kurzbezeichnung)
LensType=Objektiv (Langbezeichnung)
ImageSize=Bildgröße
RecordMode=Dateityp
Quality=Bildaufnahmequalität
ExposureProgram=Belichtungsprogramm
EasyMode=Motivbereichsprogramm
MeteringMode=Belichtungsmessmethode
FocusMode=AF-Modus
DriveMode=Betriebsart
FlashMode=Blitzmodus
FlashActivity=Blitzaktivität
FlashDetails=Blitzdetails
FlashBias=Blitzbelichtungskorrektur

WhiteBalance=Weißabgleich
PictureStyle (-4)=Bildstil (-4)
PhotoEffect=Fotoeffekt
ColorTone=Farbtonwert
ColorSpace=Farbraum
Sharpness (3)=Schärfe (3)
Contrast=Kontrast
Saturation=Sättigung
Selftimer=Selbstauslöser
DigitalZoom=Digitalzoom
ExposureCompensation=Belichtungskorrektur
BulbDuration=Dauer Langzeitbelichtung
AEBBracketValue=Korrekturwert der Belichtungsreihe

MultipleChoiceValues_LensType=
Indeterminate=Nicht ermittelbar
MultipleChoiceValues_ImageSize=
Large|Medium|Small|Medium 1|Medium 2|Medium 3|Postcard|Widescreen|Medium Movie|Small Movie|Unknown=Groß|Mittelgroß|Klein|Mittelgroß 1|Mittelgroß 2|Mittelgroß 3|Postkarte|Breitbild|Mittelgroßer Film|Kleiner Film|Unbekannt
MultipleChoiceValues_Quality=
Economy|Normal|Fine|RAW|Superfine|Normal Movie=Platzsparend|Normal|Fein|RAW|Superfein|Normal Movie¹
MultipleChoiceValues_ExposureProgram=
Easy|Program AE|Shutter speed priority AE (Tv)|Aperture-priority AE (Av)|Manual (M)|Depth-of-field AE (A-DEP)|M-Dep|Bulb=Motivprogrammautomatik|Programmautomatik|Blendenautomatik (Tv)|Zeitautomatik (Av)|Manuell (M)|Schärfentiefenautomatik (A-DEP)|M-Dep¹|Langzeitbelichtung

MultipleChoiceValues_EasyMode=
Full auto=Vollautomatik
Manual=Manuell
Landscape=Landschaft
Fast shutter=Fast shutter¹
Slow shutter=Slow shutter¹
Night=Nachtszene
Gray Scale=Gray Scale¹
Sepia=Sepia
Portrait=Portrait
Sports=Sport
Macro=Nahaufnahme
Black & White=Monochrom
Pan focus=Pan focus¹
Vivid=Lebhafte Farbe
Neutral=Neutral
Flash Off=Blitz Aus
Long Shutter=Long Shutter¹
Super Macro=Makro
Foliage=Laub
Indoor=Innenaufnahme
Fireworks=Feuerwerk
Beach=Strand
Underwater=Tauchen
Snow=Schnee
Kids & Pets=Kinder & Tiere
Night Snapshot=Nacht-Schnappschuss
Digital Macro=Digital-Makro
My Colors=My Colors¹
Still Image=Still Image¹
Color Accent=Farbton
Color Swap=Farbwechsel
Aquarium=Aquarium
ISO 3200=ISO 3200
Creative Auto=Creative Auto¹
Sunset=Sonnenuntergang

MultipleChoiceValues_MeteringMode=
Default|Spot|Average|Evaluative|Partial|Center-weighted average=Fehlwert|Spot|Durchschnitt|Mehrfeld|Selektiv|Mittenbetont integral
MultipleChoiceValues_FocusMode=
One-shot AF|AI Servo AF|AI Focus AF|Manual Focus (3)|Single|Continuous|Manual Focus (6)|Pan Focus=One-shot AF|AI Servo AF|AI Focus AF|Manuelle Scharfstellung (3)|Einzelaufnahme|Reihenaufnahme|Manuelle Scharfstellung (6)|Pan Focus¹
MultipleChoiceValues_DriveMode=
Single|Continuous|Movie|Continuous, Speed Priority|Continuous, Low|Continuous, High=Einzelaufnahme|Reihenaufnahme|Film|Continuous, Speed Priority¹|Reihenaufnahme, geringe Frequenz|Reihenaufnahme, hohe Frequenz
MultipleChoiceValues_FlashMode=
Off|Auto|On|Red-eye reduction|Slow-sync|Red-eye reduction (Auto)|Red-eye reduction (On)|External flash=Aus|Auto|Ein|Rote-Augen-Verringerung|Slow-sync¹|Rote-Augen-Verringerung (Auto)|Rote-Augen-Verringerung (Ein)|Externer Blitz

MultipleChoiceValues_WhiteBalance=
Auto=Auto
Daylight=Tageslicht (ca. 5200K)
Cloudy=Wolkig (ca. 6000K)
Tungsten=Kunstlicht (Glühbirne) (ca. 3200K)
Fluorescent=Leuchtstoff (ca. 4000K)
Flash=Blitz
Custom=Benutzerdefiniert
Black & White=Schwarz-Weiß
Shade=Schatten (ca. 7000K)
Manual Temperature (Kelvin)=Manuelle Temperatur (Kelvin)
PC Set1=PC Set1¹
PC Set2=PC Set2¹
PC Set3=PC Set3¹
Daylight Fluorescent=Tageslicht-Leuchtstofflampe
Custom 1=Benutzerdefiniert 1
Custom 2=Benutzerdefiniert 2
Underwater=Tauchen
Custom 3=Benutzerdefiniert 3
Custom 4=Benutzerdefiniert 4
PC Set4=PC Set4¹
PC Set5=PC Set5¹

MultipleChoiceValues_PhotoEffect=
Off|Vivid|Neutral|Smooth|Sepia|B&W|Custom|My Color Data|Unknown=Aus|Lebhafte Farbe|Neutral|Smooth¹|Sepia|Schwarz-Weiß|Benutzerdefiniert|My Color Data¹|Unbekannt
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

I could reproduce the crash and am going to fix it soon. However, all potential multiple choice values must be known in advance, i.e. at plugin loading time. The current design of the multiple choice fields does not allow dynamic changes of the choice values during plugin life time.

My idea is to specially mark the multiple choice fields with uncertain number of choices in jpg-comment.ini and I can internally add an additional field "Other" if none of the specified choices matches.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

JPG comment, EXIF, IPTC and XMP metadata plugin 2.2.0.8

Post by *tbeu »

Crash should be fixed now. ft_fileerror is returned in case the retrieved multiple choice value is not specified in jpg_comment.ini. Could you please check again. Thanks!

Download Vs 2.2.0.8: ReadMe, Plugin
Last edited by tbeu on 2009-05-06, 20:55 UTC, edited 1 time in total.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

JPG comment, EXIF, IPTC and XMP metadata plugin 2.2.0.9

Post by *tbeu »

Plugin Vs 2.2.0.9 has been released.

Download Vs 2.2.0.9: ReadMe, Plugin, Source (Visual C++ 2008 EE)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

Hello tbeu,

I have successfully tested the fix with V2.2.0.9, no crash anymore. Thank you very much :) !


I've a minor question about data types:
I have defined some more fields in order to get information, whether a thumbnail and/or a preview image is present in an image file:

Code: Select all

;*** Thumbnail-Images
206=2|ThumbnailLen_Exif|Exif.Thumbnail.JPEGInterchangeFormatLength|0
207=2|ThumbnailLen_Minolta|Exif.Minolta.ThumbnailLength|0
208=2|ThumbnailLen_Olympus|Exif.Olympus.ThumbnailLength|0
;*** Preview-Images
209=2|PreviewLen_Exif|Exif.Image.StripByteCounts|0
210=2|PreviewLen_Nikon|Exif.NikonPreview.JPEGInterchangeFormatLength|0
I've set the field type to 2 (ft_numeric_64), because Exiv2 reports long as data type for these fields. Initially, correct results will be returned in my custom view, but when switching to another custom view and/or to another directory and back again, sometimes weird results will be reported (sometimes just "?", sometimes huge values like "13054926.758.357.733" for a thumbnail length of 10.981 bytes).

When I change the field type to 1 (ft_numeric_32), then the plugin reliably returns correct values (as far as I've tested it).

Isn't ft_numeric_64 the correct field type for tags of type long (and why)?

Thanks again!
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

2van Dusen
There was a bug in the plugin regarding the C [face=courier]long[/face] data type. It is a signed 32-bit integer and not matching [face=courier]ft_numeric_64[/face] (specified as signed 64-bit integer). I changed it to [face=courier]long long[/face] and the plugin behaves correctly now. Thank you for testing and bug reporting!
Exif 2.2 standard wrote:The following types are used in Exif:
1 = BYTE An 8-bit unsigned integer.,
2 = ASCII An 8-bit byte containing one 7-bit ASCII code. The final byte is terminated with NULL.,
3 = SHORT A 16-bit (2-byte) unsigned integer,
4 = LONG A 32-bit (4-byte) unsigned integer,
5 = RATIONAL Two LONGs. The first LONG is the numerator and the second LONG expresses the denominator.,
7 = UNDEFINED An 8-bit byte that can take any value depending on the field definition,
9 = SLONG A 32-bit (4-byte) signed integer (2's complement notation),
10 = SRATIONAL Two SLONGs. The first SLONG is the numerator and the second SLONG is the denominator.
Since Exif type LONG is an unsigned 32-bit integer (ranging from 0 to +4,294,967,295) but [face=courier]ft_numeric_32[/face] is specified as signed 32-bit integer (ranging from −2,147,483,648 to +2,147,483,647) you should use [face=courier]ft_numeric_64[/face] for Exif type LONG to support values larger than +2,147,483,647 (and less or equal than +4,294,967,295).

Download Vs 2.2.0.10: ReadMe, Plugin
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

JPG comment, EXIF, IPTC and XMP metadata plugin 2.2.0.10

Post by *tbeu »

Plugin Vs 2.2.0.10 has been released.

Download Vs 2.2.0.10: ReadMe, Plugin, Source (Visual C++ 2008 EE)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

Hello tbeu,

sorry for my late feedback: I have successfully tested the fix with V2.2.0.10, no weird results anymore with filed type = 2 set :).

Thank you for your explanation and for fixing bugs that fast!
Post Reply