Giter Club home page Giter Club logo

Comments (13)

husayt avatar husayt commented on May 5, 2024 5

This is very important. I have stumbled on this issue so many times with Picasa. Had all my metadata overwritten if by mistake forgot to have a harddrive with photos connected. Metadata needs to be next to images and in some readable/editable format like json/xml.

from photoprism.

lastzero avatar lastzero commented on May 5, 2024 2

That's actually an issue with most modern software out there... primary storage is a database, ideally somewhere in the cloud, some distributed NoSQL bleeding edge technology... Works great in terms of scalability (when running Web apps with millions of users), but how can regular users create a reliable backup from that? That they can use/read in 20 or 40 years? Photos are not just for the moment.

from photoprism.

tendant avatar tendant commented on May 5, 2024 2

This is a great idea. Text file has a lot of benefits for backup purpose. Format like YAML can be easily tracked in version control system like git, most of editing conflict can be resolved automatically. It can be edited using text editor when needed.

Storing metadata in original image file is nice to have, it serves different purpose though. For backup purpose, it is better not to modify original file, so that original file can be de-duplicated using hash.

from photoprism.

lastzero avatar lastzero commented on May 5, 2024 2

Darktable docs for sidecar files: https://www.darktable.org/usermanual/en/sidecar_files.html

from photoprism.

lastzero avatar lastzero commented on May 5, 2024 2

Created a wiki page for XMP sidecar files: https://github.com/photoprism/photoprism/wiki/XMP

from photoprism.

eliasp avatar eliasp commented on May 5, 2024

What about writing those kind of metadata in a way where they aren't detached from the actual file, e.g. FDO CommonExtendedAttributes on Linux/OS X (see also: https://gist.github.com/gwpl/a00e18bc150f1e3518335d13c5e46ad7), NTFS Alternate Data Streams on Windows?

from photoprism.

lastzero avatar lastzero commented on May 5, 2024

You should be able to create a long-term backup and edit all file using regular tools (in this case: text editor). Wouldn't work with filesystem specific metadata, right?

from photoprism.

eliasp avatar eliasp commented on May 5, 2024

Unfortunately yes :(

from photoprism.

splitbrain avatar splitbrain commented on May 5, 2024

Personally I'd prefer to have the meta data written back to the image file (as XMP/IPTC/Exif tags). That way the info is not lost when the image is moved or copied somewhere else (and reimported in a different instance).

from photoprism.

lastzero avatar lastzero commented on May 5, 2024

@splitbrain That way, the md5/sha fingerprint would change, which makes it much more difficult to detect duplicate imports. Also XMP files are human readable, other than binary data inside image files.

from photoprism.

lastzero avatar lastzero commented on May 5, 2024

Still think we should do this, maybe soon. Using XMP seems difficult and we can't write data back to XMP files yet: https://github.com/photoprism/photoprism/wiki/XMP

from photoprism.

jagot avatar jagot commented on May 5, 2024

I would vote for TOML

from photoprism.

lastzero avatar lastzero commented on May 5, 2024

Implemented. Please open a new issue if you find bugs!

from photoprism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.