YUView icon indicating copy to clipboard operation
YUView copied to clipboard

support for rgb565 pls

Open tooyangtoonaive opened this issue 9 months ago • 2 comments

In embedded system, rgb565 is more common format than other.

bit order R will be the most significant 5 bits: R = bits[15 ~ 11] G = bits[10 ~ 5] B = bits[4 ~ 0]

byte order little endian: bits[7 ~0] first byte, bits[15 ~ 8] second byte big endian: swap little endian bytes

tooyangtoonaive avatar Mar 22 '25 08:03 tooyangtoonaive

Hi! So its like a packed RGB format. Interesting. Could you provide a sample file in this format? Or is there a way to create this somehow?

ChristianFeldmann avatar Mar 25 '25 14:03 ChristianFeldmann

Hi! So its like a packed RGB format. Interesting. Could you provide a sample file in this format? Or is there a way to create this somehow?

sample file https://github.com/coolaj86/image-examples/blob/master/test/reference.rgb565

you can use PixelViewer (https://github.com/carina-studio/PixelViewer/) to view it.

preview:

Image

tooyangtoonaive avatar Apr 02 '25 10:04 tooyangtoonaive