Skip to content

Commit

Permalink
Added RGB to I;16N conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 30, 2024
1 parent a4e5dc2 commit 838bb6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libImaging/Convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,11 @@ static struct {
{"RGB", "I;16", rgb2i16l},
{"RGB", "I;16L", rgb2i16l},
{"RGB", "I;16B", rgb2i16b},
#ifdef WORDS_BIGENDIAN
{"RGB", "I;16N", rgb2i16b},
#else
{"RGB", "I;16N", rgb2i16l},
#endif
{"RGB", "F", rgb2f},
{"RGB", "BGR;15", rgb2bgr15},
{"RGB", "BGR;16", rgb2bgr16},
Expand Down

0 comments on commit 838bb6c

Please sign in to comment.