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

Color Grading using libgd and LUT files #838

Open
Jeevhi opened this issue Aug 24, 2022 · 2 comments
Open

Color Grading using libgd and LUT files #838

Jeevhi opened this issue Aug 24, 2022 · 2 comments

Comments

@Jeevhi
Copy link

Jeevhi commented Aug 24, 2022

Is it possible to apply lookup table (LUT) using libgd?

I could find one function here but it does not have any description so not sure if that's the correct function

https://libgd.github.io/manuals/2.3.3/files/gd_color_map-c.html

Thanks

@cmb69
Copy link
Contributor

cmb69 commented Aug 24, 2022

gdColorMapLookup() is a helper for XPM support; to use it for other purposes, you would need to defined a gdColorMap structure.

But I wonder what you're actually looking for. Can you please clarify?

@Jeevhi
Copy link
Author

Jeevhi commented Aug 27, 2022

I like to apply LUT to image, very much like we do in photoshop Layer > New Adjustment Layer > Color Lookup but couldn't find documentation on how to do it libgd.

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

No branches or pull requests

2 participants