Skip to content
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

Meta-data system #61

Open
2 of 5 tasks
p0nce opened this issue Nov 4, 2023 · 0 comments
Open
2 of 5 tasks

Meta-data system #61

p0nce opened this issue Nov 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@p0nce
Copy link
Collaborator

p0nce commented Nov 4, 2023

  • study what FreeImage does => it implements iterators that avoid to read the whole metadata if not needed, apparently it does not parse metadata preemptively. Can represent unknown type. I don't really like all this.
  • study what https://github.com/DlangGraphicsWG/image/blob/master/src/wg/image/metadata.d does => linked-list of arena-based metadata, quite short and cool (yes), based by templated type instead of UUID (meh)
  • similar system to mallocArea, metadata is owned when data is owned?
  • (optional) each layer should be able to have meta-data (eg: GIF frame times)
    • alternatively, each layer has access only to global metadata? (no layer-specific metadata)
  • (optional) layered views also points in layered metadata, so that you can create multi-layered views, with access to layer metadata, without reallocation
@p0nce p0nce added the enhancement New feature or request label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant