remove exiftool by default in the generated script
This commit is contained in:
parent
a7f7518422
commit
e3a70363b4
|
@ -22,7 +22,7 @@ function batch_exif_photos {
|
||||||
|
|
||||||
if [ -f "$file" ] && [ -f "$file_assemblage" ] ; then
|
if [ -f "$file" ] && [ -f "$file_assemblage" ] ; then
|
||||||
echo "set the tags in assemblage $i from GF0$filename.JPG"
|
echo "set the tags in assemblage $i from GF0$filename.JPG"
|
||||||
hugin_executor "/home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/output_pto/merging_0$i.pto" --stitching --prefix=assemblage_080530 -t=6
|
hugin_executor "/home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/output_pto/merging_0$i.pto" --stitching --prefix="assemblage_$i" -t=6
|
||||||
else
|
else
|
||||||
echo "File $file does not exist."
|
echo "File $file does not exist."
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -16,8 +16,9 @@ let mini_arguments: any = minimist(process.argv.slice(2))
|
||||||
* ces trois paramètres permettent de traiter par lots des assemblages sans avoir à scanner le dossier
|
* ces trois paramètres permettent de traiter par lots des assemblages sans avoir à scanner le dossier
|
||||||
*/
|
*/
|
||||||
let gorpro_fusion_separated_photos_folder = 'rouen_oct23'
|
let gorpro_fusion_separated_photos_folder = 'rouen_oct23'
|
||||||
let goproMin = '15424'// numéro de photo gopro minimum front et back.
|
let goproMin = '80864'// numéro de photo gopro minimum front et back.
|
||||||
let goproMax = '80865' // et maximum
|
let goproMax = '80865' // et maximum
|
||||||
|
let addExifToolInScript = false;
|
||||||
|
|
||||||
if (mini_arguments['goproMin']) {
|
if (mini_arguments['goproMin']) {
|
||||||
goproMin = mini_arguments['goproMin']
|
goproMin = mini_arguments['goproMin']
|
||||||
|
@ -85,6 +86,10 @@ function makeBashScriptHugin(minmax: any) {
|
||||||
'--stitching ' +
|
'--stitching ' +
|
||||||
'--prefix=' + stitchedFileName +
|
'--prefix=' + stitchedFileName +
|
||||||
' -t=6'
|
' -t=6'
|
||||||
|
|
||||||
|
|
||||||
|
if(addExifToolInScript){
|
||||||
|
|
||||||
scriptsContent += '\n # complétion des données gps depuis une des photos assemblées' +
|
scriptsContent += '\n # complétion des données gps depuis une des photos assemblées' +
|
||||||
'\nexiftool ' +
|
'\nexiftool ' +
|
||||||
'-TagsFromFile "' +
|
'-TagsFromFile "' +
|
||||||
|
@ -93,6 +98,7 @@ function makeBashScriptHugin(minmax: any) {
|
||||||
'-SubSecTimeOriginal' +
|
'-SubSecTimeOriginal' +
|
||||||
' -Make="Tykayn" "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" ' +
|
' -Make="Tykayn" "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" ' +
|
||||||
'-overwrite_original "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" '
|
'-overwrite_original "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" '
|
||||||
|
}
|
||||||
|
|
||||||
// console.log('ptoContent', ptoContent)
|
// console.log('ptoContent', ptoContent)
|
||||||
writeFile(ptoFileName, ptoContent)
|
writeFile(ptoFileName, ptoContent)
|
||||||
|
@ -196,7 +202,7 @@ k i1 t1 p"252 628 484 351 745 156 1008 41 1121 2 1992 4 2289 127 2571 317 2769 5
|
||||||
#hugin_outputImageTypeHDRCompression LZW
|
#hugin_outputImageTypeHDRCompression LZW
|
||||||
#hugin_outputStacksMinOverlap 0.7
|
#hugin_outputStacksMinOverlap 0.7
|
||||||
#hugin_outputLayersExposureDiff 0.5
|
#hugin_outputLayersExposureDiff 0.5
|
||||||
#hugin_outputRangeCompression 2
|
#hugin_outputRangeCompression 1
|
||||||
#hugin_optimizerMasterSwitch 6
|
#hugin_optimizerMasterSwitch 6
|
||||||
#hugin_optimizerPhotoMasterSwitch 21
|
#hugin_optimizerPhotoMasterSwitch 21
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue