gmic-py icon indicating copy to clipboard operation
gmic-py copied to clipboard

to_numpy_helper astype parameter with uint8

Open eyaler opened this issue 3 years ago • 0 comments

would be useful to have the astype=np.uint8 also do the *255 beforehand. otherwise using this option will return 0. not sure what is the convention in other libraries, but at least we could add a comment in the docs and perhaps a warning or exception in the runtime

eyaler avatar Jun 26 '21 15:06 eyaler