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 16Bit png files! #6

Open
AmmarkoV opened this issue Jan 29, 2025 · 0 comments
Open

Support 16Bit png files! #6

AmmarkoV opened this issue Jan 29, 2025 · 0 comments

Comments

@AmmarkoV
Copy link

Hello,

This is a feature request to support 16bit png files.
For some use cases (like depth maps)
e.g. http://ammar.gr/depth16.png
256 values per pixel are not enough and so 16bit encoded png files are needed.

When trying to use

wget http://ammar.gr/depth16.png
file depth16.png 
 ./zpng -c depth16.png depth16.zpng
 ./zpng -d depth16.zpng depthRecoded.png
file depthRecoded.png 

output is

depth16.png: PNG image data, 1500 x 844, 16-bit grayscale, non-interlaced
depthRecoded.png: PNG image data, 1500 x 844, 8-bit grayscale, non-interlaced

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

1 participant