Hello! I have a bunch of photos all mixed together, and I’d like to sort them out in order to better find the ones I’m searching for without loosing half an hour. I was thinking of adding custom tags to each image (manually), like “my dog”, “trip to Paris”, “my friend X” etc. I’d like this tag system to be portable, filesystem-indipendent. What are my best bet?
On dolphin if I click on a file I can add a custom tag. Where is the tag stored? in the file or in some plasma configuration file, so that moving the file on my phone would loose the tags?
I searched the web but probably I don’t really know how to call this, because all I found was a bunch of 11 years old threads or video tag editor (I need to do this with images)
thanks in advance!
EDIT: I have a HUGE amount of pictures to sort manually, so I’d need a GUI designed to be really quick. It probably does not exist, or if it does it won’t satisfy me, so I’d probably write my own simple frontend for it, so the ideal would be a CLI tool or something QT-compatible
The only option I would see to add tags to files without using some sort of picture management program that supports tags or an SQL database would be to just add raw text data to images. The image still works as eg. “IEND.B`.”/“0x49454E44AE426082” marks the end of png data. Everything afterwards is ignored. You can test that by writing some text into a file (
echo "Hello World!" > test.txt
) and cat’ing the image + the text, eg.cat image.png test.txt > new_image.png
. new_image.png will still contain the original image. Note that editing/exporting in editors will probably delete that data. Still, it could be used to add tags in eg. Json/CSV, and also extract them. That would require some work in coding, but work on any filesystem and system without additional files.This sounds like a fun hobby project, bookmarking this for later
Edit: if I will make a tool for this I will update this comment.
seems interesting, isn’t there something that already uses this?
Probably not, considering it’s a pretty janky solution prone to being broken by legitimate actions like editing it. Most are also fine with just using a database, maybe even selfhosting it.
That reminds me of the aCropalypse vulnerability where parts of the uncropped image were still present in a cropped image just after the IEND stuff.