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

Support png bit depths 1, 2 and 4 #526

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

DusanJovic-NOAA
Copy link
Contributor

@DusanJovic-NOAA DusanJovic-NOAA commented Oct 3, 2024

Update png pack/unpack and encode/decode routines to support bit depths 1, 2 and 4.

Fixes #508

@edwardhartnett
Copy link
Contributor

I think you will get the missing test runs when you merge in the develp branch.

These look like good changes, and thanks a lot for the tests!

Let me know when this is ready to merge.

@DusanJovic-NOAA
Copy link
Contributor Author

@webisu Do you want to test this branch with wgrib2 to see if png with 1, 2 and 4 bit depths works as expected?

@webisu
Copy link

webisu commented Oct 8, 2024 via email

@edwardhartnett
Copy link
Contributor

However, wgrib2 is about to start using g2c for compression.

@DusanJovic-NOAA I suggest that if this passes your tests we merge it and it can be tested further with wgrib2 later.

…cmake.in

When this library is compiled as a submodule of another project the location
of PackageConfig.cmake.in template file must be specifield using this project's
source directory (PROJECT_SOURCE_DIR) not the parent project's (top-level) source
directory (CMAKE_SOURCE_DIR)
@DusanJovic-NOAA DusanJovic-NOAA marked this pull request as ready for review October 10, 2024 16:06
@edwardhartnett edwardhartnett added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

png support for 1, 2 or 4 bit depths?
3 participants