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

[BUG] bad handling of u8 data in saveImage #3544

Open
syurkevi opened this issue Mar 20, 2024 · 0 comments
Open

[BUG] bad handling of u8 data in saveImage #3544

syurkevi opened this issue Mar 20, 2024 · 0 comments
Labels

Comments

@syurkevi
Copy link
Contributor

saveImage should have explicit asserts for non-floating point data types. Saving u8 data through saveImage will result in corrupt image output from freeimage due to preprocessing steps. Either u8 data type needs to be preprocessed correctly or have explicit type checks to dissallow u8. Documentation needs to be updated to reflect allowable permutations of types and ranges, add differentiation between saveImage and saveImageNative()

@syurkevi syurkevi added the bug label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant