💾 Archived View for fixato.org › gemini-tips.gmi captured on 2023-04-19 at 22:26:52. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
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 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.
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")
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
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
This page has been viewed 88 times up to 2021-06-07 22:09:04 and received a total of 12 ♥
(It will be added to the counter upon the next page rebuild)