-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata #169
Comments
Metadata means an ability to add something extra that doesn't affect normal decompression of the file. For example, one could store freeform file description or comment, or cryptographic signature of the contents. There are different possible uses. The .gz format has special fields for the original filename and timestamp, and the format supports also custom metadata. I don't understand your EXIF example. EXIF is metadata about the image, so in that sense the comparison is spot on. But compression doesn't delete the EXIF from the file. If EXIF is missing after some operation, it's because the operation removed it.
If metadata was implemented as its own Stream type, then it's as you wrote. Normal .xz files can have more than one Stream, so such a metadata implementation would allow .xz files to have both data and metadata at the same time. |
How would this metadata be added? A command-line argument, I assume? |
A new command line argument is one way. For example, |
I'm looking at the TODO, and I'm a bit confused on what some stuff means.
First, by "metadata", I assume you mean stuff like EXIF? If I download this, for example, and then compress it, the EXIF is gone. Again, I assume this is what you mean? CMIIW, though.
Second, this:
Going back to my image example, if an .xz file has just one Stream, does that mean it's only either just the image without the EXIF, or just the EXIF without the actual image?
Thanks.
The text was updated successfully, but these errors were encountered: