remove exiftool by default in the generated script

This commit is contained in:
Tykayn 2023-11-02 17:17:22 +01:00 committed by tykayn
parent a7f7518422
commit e3a70363b4
2 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ function batch_exif_photos {
if [ -f "$file" ] && [ -f "$file_assemblage" ] ; then
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
echo "File $file does not exist."
fi

View File

@ -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
*/
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 addExifToolInScript = false;
if (mini_arguments['goproMin']) {
goproMin = mini_arguments['goproMin']
@ -85,6 +86,10 @@ function makeBashScriptHugin(minmax: any) {
'--stitching ' +
'--prefix=' + stitchedFileName +
' -t=6'
if(addExifToolInScript){
scriptsContent += '\n # complétion des données gps depuis une des photos assemblées' +
'\nexiftool ' +
'-TagsFromFile "' +
@ -93,6 +98,7 @@ function makeBashScriptHugin(minmax: any) {
'-SubSecTimeOriginal' +
' -Make="Tykayn" "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" ' +
'-overwrite_original "' + dossier_assemblages_output + '/' + stitchedFileName + '.' + extension_photo_source + '" '
}
// console.log('ptoContent', 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_outputStacksMinOverlap 0.7
#hugin_outputLayersExposureDiff 0.5
#hugin_outputRangeCompression 2
#hugin_outputRangeCompression 1
#hugin_optimizerMasterSwitch 6
#hugin_optimizerPhotoMasterSwitch 21