De MicMac
Aller à : navigation, rechercher


SetExif is a handy tool to fill in (or modify) the main exif metadata required by MicMac (Focal Length, Focal Length equivalent 35mm, Camera Model Name).


The global syntax for SetExif is

mm3d SetExif ImagePattern

As is, the above command will have no effect, as the metadata to be written in the exif has to be specified through the optional arguments.


Here is an example to fill in the metadata for an Olympus OM-D EM-5

mm3d SetExif "DSC.*JPG" F=24 F35=48 Cam="OM-D EM-5"

Note : You can implement new camera models in DicoCam.xml or by using MicMac-LocalChantierDescripteur.xml in your working directory


You can access to the help by typing :

mm3d SetExif -help 

Mandatory unnamed args :

  • string :: {Pattern of images}

Named args :

  • [Name=F] REAL :: {Focal length}
  • [Name=F35] REAL :: {Focal length equiv 35mm}
  • [Name=Cam] string :: {Camera model}
  • [Name=Purge] bool :: {Purge created exiv2 command file (Def=true)}