💾 Archived View for fixato.org › gemini-tips.gmi captured on 2022-07-16 at 13:53:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

Gemini tips

First published on Thursday 18 March 2021 01:00:00 CET

Last revised on Thursday 18 March 2021 22:00:00 CET

On this page I’ll try to keep track of random tips and tricks for adding content to your Gemini port/log.

Exiftool

Exiftool is a wonderful platform-independent Perl library with a command-line interface that can be used to read out and write meta-data to image files.

Exiftool

Adding meta-data

Image files can have meta-data associated to them, either through embedding, or by adding to separate (#xmp) data-files, which can be useful to add some more context to the images. Think of a caption, description or keywords for making it easier to find the files without it having an unnecessarily long filename. But also details such as the brand and make of camera or application used, or the location a photograph was taken.

Exiftool can be used to add these details. In one of my earlier posts, 'Exploring the concept of photo albums for Gemini' I give a couple of examples of how to add a caption, description and keywords:

one of my earlier posts, 'Exploring the concept of photo albums for Gemini'

(CREATOR='Your name here'; \
 TITLE="Title for the photo here"; \
 DESCRIPTION="A longer description for your image. Perhaps a more detailed description of what is depicts."; \
KEYWORDS="semi-colon and space-delimited; keywords; describing; the photo"; \
exiftool -overwrite_original \
-artist="$CREATOR" -iptc:by-line="$CREATOR" -exif:xpauthor="$CREATOR" -xmp-dc:creator="$CREATOR" \
-iptc:ObjectName="$TITLE" -exif:xptitle="$TITLE" -xmp-dc:title="$TITLE" \
-iptc:Caption-Abstract="$DESCRIPTION" -exif:imagedescription="$DESCRIPTION" -xmp-dc:description="$DESCRIPTION" \
-sep "; " -keywords="$KEYWORDS" -xmp:Keywords="$KEYWORDS" -exif:xpKeywords="$KEYWORDS" \
"path/to/image/file.jpg")

Removing GPS location geotags

On the other hand, digital cameras (and especially those in phones) tend to add meta-data that you might want to delete before sharing them online. #GeoTags such as #GPS locations might give away too much information about you, especially if it’s a photo taken at your home. Before adding your media files to your public gemport, you might want to run them through #exiftool to strip the GPS tags:

exiftool -gps*= path/to/directory/with/your/images

If you want to verify they have been stripped, you can run the following command:

exiftool -filename -gpslatitude -gpslongitude -T path/to/directory/with/images

Feedback

Comments and other feedback is welcome through a reply on my Mastodon post about this Gemini tips post on the Fediverse.

my Mastodon post about this Gemini tips post

Stats

This page has been viewed 88 times up to 2021-06-07 22:09:04 and received a total of 12 ♥

Add your ♥

(It will be added to the counter upon the next page rebuild)

Back to index