ixel format from <strong>RGB565</strong> to <strong>RGB888</strong> ? =&gt; transparency information is discarded =&gt; Extract Color Channels from RGB565:

 Red (R): Extract the 5-bit red value.
 Green (G): Extract the 6-bit green value.
 Blue (B): Extract the 5-bit blue value.
 Expand Color Channels to 8 Bits:

 Red (R): Scale the 5-bit value to 8 bits by replicating the MSBs.
 From R4..R0, expand to R7..R0.
 Green (G): Scale the 6-bit value to 8 bits by replicating the MSBs.
 From G5..G0, expand to G7..G