I have image data for my input 256x256x3 uint8 and the bit depth is 24. My question is, how can I change from 24 bit depth image to 8 bit depth image without changing the colortype in 'truecolor'?
Kshitij Singh answered .
2025-11-20
imread() im2uint8() imwrite()