Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Persist metadata in GIF file for iCloud #183

Closed
sindresorhus opened this issue Mar 10, 2020 · 2 comments
Closed

Persist metadata in GIF file for iCloud #183

sindresorhus opened this issue Mar 10, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sindresorhus
Copy link
Owner

sindresorhus commented Mar 10, 2020

We add metadata that the GIF was made with Gifski, but that metadata is currently not preserved when the GIF file is synced with iCloud.

try? gifUrl.setMetadata(key: .itemCreator, value: "\(App.name) \(App.version)")

See: https://eclecticlight.co/2019/07/23/how-to-save-file-metadata-in-icloud-and-new-info-on-extended-attributes/

@sindresorhus sindresorhus added enhancement New feature or request help wanted Extra attention is needed 💵 Funded on Issuehunt This issue has been funded on Issuehunt labels Mar 10, 2020
@sindresorhus
Copy link
Owner Author

I tried implementing this, but it turns out, if you set the sync flag, it no longer shows up in the Finder preview pane. I would rather have it show in Finder than being syncable.

@sindresorhus sindresorhus removed the 💵 Funded on Issuehunt This issue has been funded on Issuehunt label Dec 31, 2022
@sindresorhus
Copy link
Owner Author

The bounty is moved to #219

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
@sindresorhus and others