Skip to content

Commit

Permalink
Added info for rgb565 unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
pizza3 committed Sep 18, 2023
1 parent 27ebf74 commit b3668e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utilities/rgb565torgb.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// The implementation of rgb565 to rgb888 is from
// https://rgbcolorpicker.com/565

export function rgb565torgb( rgb565 ) {

// Shift the red value to the right by 11 bits.
Expand Down

0 comments on commit b3668e3

Please sign in to comment.