-
Notifications
You must be signed in to change notification settings - Fork 52
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 float32 images #11
Comments
To get 32-bits would require extra effort. |
You might need to convert to a 16-bit PNG first, not sure. https://github.com/fogleman/hmm/blob/master/src/stb_image.h#L7356 |
Yeah looks like the image loader I'm using supports 16-bit PNGs and PSDs: https://github.com/fogleman/hmm/blob/master/src/stb_image.h#L7248-L7259 |
Could you point me towards a similar solution that supports 32-bit images? I've been looking for one, but I can't seem to find one that both supports high resolution heightmaps (8192x8192 is what I've been using) and 32 bit. |
@tplc10 If you're ok with Python, I wrote Python bindings to |
would it be possible to support float32 input files, like geotiffs, without conversion into a 8bit image format first? Totally understandable if additional dependencies are not desired. I am sure a short python/bash script could automate the conversion and correct zscale...
The text was updated successfully, but these errors were encountered: