Is it possible to convert an RGB565 image to an RGB888 one ?
What I want to do is to convert images to RGB888 in order to increase significant figures of each pixel. I noticed that when I type for example print([img) , I get a list of 3 numbers coded in 8 bits, but I think that it is just a linear conversion of a number coded in 5 bits ( or 6 bits for the green component)
So I tested that by typing for example :
img = sensor.snapshot()
img = [ 23, 30, 23 ]
I get :
(25, 28, 25) instead of (23, 30, 23)(The values that I gave)
So I wonder if there is a way to convert to rgb888 in such a way as to increase the number of significant digits.