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

Decoder IFD access #412

Merged
merged 7 commits into from
Mar 7, 2024
Merged

Decoder IFD access #412

merged 7 commits into from
Mar 7, 2024

Commits on Mar 7, 2024

  1. Add new DNG tags

    cytrinox committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    a9c403f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e21abd1 View commit details
    Browse the repository at this point in the history
  3. Fix new clippy warnings

    cytrinox committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    bc5fd8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c73338a View commit details
    Browse the repository at this point in the history
  5. Add WellKnownIFD and Decoder::ifd() to access raw file IFDs

    For example, if you know you're dealing with DNG raw files
    (Decoder::format_hint) and want to extract OpcodeList3, you can access
    the raw IFD with decoder.ifd(WellKnownIFD::Raw) and query this IFD
    for DngTag::OpcodeList3 entry.
    
    There are also virtual IFDs. Decoders can provide collections of useful
    tags as virtual IFDs like format specific tags that are difficult to
    read manually.
    
    This commit introduces two virtual IFDs:
     * VirtualDngRootTags
     * VirtualDngRawTags
    
    These IFDs can be used by any decoder implementation to pass-through
    DNG tags to dng-writer. This is useful if a raw file format provides
    information that can be used to populate DNG tags.
    
    Decoder::ifd() is implemented only for DNG decoder yet but it's easy
    to extend it to all other decoders.
    cytrinox committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    59231bf View commit details
    Browse the repository at this point in the history
  6. Remove Makernotes from Exif as it is unusable

    Some cameras embed the raw data inside Makernotes and as Exif
    struct is part of analyze metadata during test cases, it would
    serialize the whole pixels into yaml files.
    cytrinox committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    1ff9e91 View commit details
    Browse the repository at this point in the history
  7. Update analyze test files

    cytrinox committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    0792233 View commit details
    Browse the repository at this point in the history