Conversion the 16 bit image to 8 bit image

@ptrblck i have been using read_image function to read an 16 bit image but it was throwing the following error that it could only read 8 bit image…
how to convert the 16 bit image to 8 bit image

error :slight_smile:

Based on the error message it seems read_image doesn’t support 16 bit images and you might need to use e.g. PIL or OpenCV.
I would generally not recommend tagging specific users as it could demotivate others to post a valid response.