How can I convert image data of 16 bit integer type to 8-bit integer type using openimageio c++ api? Is this possible to do?
I have tried using convert_types() present in imageio.h but the result is not proper as I would have passed wrong 'n' value. What parameter 'n' signifies convert_types()? what value should be passed?