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

feat(jpeg): Support encoding/decoding arbitrary metadata as comments #4430

Merged
merged 4 commits into from
Nov 7, 2024

Commits on Sep 17, 2024

  1. feat(jpeg): Support encoding/decoding arbitrary metadata as comments

    This is needed to port Blender's current JPEG IO code to using OIIO,
    but is also a useful feature to have in general.
    
    For reading, the code tries to parse comments as colon-separated key-value
    pairs and sets metadata accordingly. For writing, this needs to be explicitly
    enabled by setting jpeg:com_attributes to 1 in order to avoid accidentally
    bloating files for existing applications.
    
    Signed-off-by: Lukas Stockner <[email protected]>
    lukasstockner committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    ba93c68 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    39c6d81 View commit details
    Browse the repository at this point in the history
  2. Make parsing of JPEG comments more robust, handle ImageDescription sm…

    …arter
    
    Signed-off-by: Lukas Stockner <[email protected]>
    lukasstockner committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    06ad8d5 View commit details
    Browse the repository at this point in the history
  3. Fix test on Windows

    Signed-off-by: Lukas Stockner <[email protected]>
    lukasstockner committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    1763e1a View commit details
    Browse the repository at this point in the history