-
Notifications
You must be signed in to change notification settings - Fork 103
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
Renderer: Level/Gamma Support #456
Comments
Hi @Charltsing, not sure how I should properly include this in the pixel shader, here:- I tried this color.rgb = pow(color.rgb, gamma); and not even sure for the right allowed values it should have. Give it a try and let me know or create a PR so I can include this. |
it is a level code: MagickExport MagickBooleanType LevelImage(Image *image,const double black_point, |
@Charltsing This should be implemented with the pixel shader in GPU and no in RAM for performance. It will require more research and I'm afraid I will not be adding any new features in v3 as I'm trying to focus in the new major v4. |
Thanks for your reply. |
Black--gamma--White
like photoshop--Level:
Black (0 min , 127 max)
The default value for gamma is 2.2, (range 1.0 min 5.0 max)
White(128 min , 255 max)
The text was updated successfully, but these errors were encountered: