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

added g2c_ versions of png and openjpeg enc/dec functions #545

Merged
merged 14 commits into from
Nov 1, 2024

Conversation

AlysonStahl-NOAA
Copy link
Contributor

wgrib2 now uses g2c_enc_jpeg2000() / g2c_dec_jpeg2000() for Jasper only (see recent PR). I'm adding these functions so wgrib2 can use g2c decode functions for OpenJPEG and PNG as well.

It wouldn't be difficult to just make these changes in wgrib2 and convert the int inputs to g2int, however, seeing how these functions already existed for Jasper, it made more sense to me to add the functions here.

src/decenc_png.c Outdated Show resolved Hide resolved
@edwardhartnett edwardhartnett merged commit 90b54e9 into NOAA-EMC:develop Nov 1, 2024
38 checks passed
@AlysonStahl-NOAA AlysonStahl-NOAA deleted the as_enc_dec branch November 1, 2024 19:45
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.

3 participants