~martijnbraam/Megapixels#50: 
Enhancement request for postprocess.sh

Hi Martijn

My suggested enhancement is to set the DateTimeOriginal exif tag in the photo so programs like fotoxx can sort by the photo date/time.

I have never written a line of C code nor an original line of shell script, but can do a bit of copy/paste. (Yes I have read your linux phone blog.) I have been able to implement my suggestion by modifying my ~/.config/megapixels/postprocess.sh with an extra line to get exiftool to do the work as follows:

if command -v exiftool > /dev/null then exiftool -tagsFromfile "$MAIN_PICTURE.$TIFF_EXT"
-software="Megapixels"
-overwrite_original "$TARGET_NAME.jpg" exiftool -tagsFromFile @ "-ModifyDate>DateTimeOriginal" -overwrite_original "$TARGET_NAME.jpg" fi

Once again my thanks for your contributions to the PinePhone developement - I hope you find my suggestion useful.

Regards

Chris (aka dukla2000)

Status
REPORTED
Submitter
Chris Norris
Assigned to
No-one
Submitted
1 year, 7 months ago
Updated
1 year, 24 days ago
Labels
No labels applied.