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

Make DNG opcode lists available from rawler (fixed) #398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paolodepetrillo
Copy link

The purpose of this change is to make the DNG OpcodeList tags available through the rawler API, so that they can be accessed from within vkdt to implement some opcode list processing for lens corrections.

It specifically gets the tags corresponding to the raw image, which might be in either Image or SubImage1, and ignores any OpcodeLists for preview / thumbnail images elsewhere in the file.

@paolodepetrillo
Copy link
Author

I started experimenting with the opcode list processing here: https://github.com/paolodepetrillo/dnglab/tree/opcode-list-decode

It doesn't actually apply any processing yet, but as of now it decodes all of the opcodes defined in DNG spec 1.7 and prints them out at the point in the develop process where they would be applied.

@hanatos
Copy link

hanatos commented May 3, 2024

bump. any interest in merging this? i'm using a version of this work with some merge conflicts resolved you can find it here to process gainmaps in vkdt (also based on @paolodepetrillo 's work). this can make quite a difference:
2024-05-03-173950_1920x1080_scrot
2024-05-03-173943_1920x1080_scrot

@cytrinox
Copy link
Contributor

cytrinox commented May 3, 2024

As the WellKnownIFD API introduced in #412 already provides direct access to DNG opcodes, I think this PR is no longer necessary.

@hanatos
Copy link

hanatos commented May 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants