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

Gamma settings for RAW decoding + convertion to jpeg sample #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ArtyomSinyugin
Copy link

@ArtyomSinyugin ArtyomSinyugin commented Apr 17, 2024

It was some difficulties for me to understand 'Actions' on github, but now it is all fine.

Test please this version. The only thing couldn't pass the test is mozjpeg in sample, which demands rust 1.71 and above.

So.

For RAW to jpg convertion here is a new sample.

For gamma. By default settings for rec. BT.709 areused: power 2.222(i.e. gamm_0=2.222) and slope 4.5. For sRGB curve use gamm_0=2.4 and gamm_1=12.92, for linear curve set gamm_0/gamm_1 to 1.0.0

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.

1 participant