We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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?
Sorry, something went wrong.
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:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: