Added RGB to I;16N conversion

This commit is contained in:
Andrew Murray 2024-03-30 20:22:50 +11:00
parent a4e5dc219c
commit 838bb6c493

View File

@ -967,6 +967,11 @@ static struct {
{"RGB", "I;16", rgb2i16l}, {"RGB", "I;16", rgb2i16l},
{"RGB", "I;16L", rgb2i16l}, {"RGB", "I;16L", rgb2i16l},
{"RGB", "I;16B", rgb2i16b}, {"RGB", "I;16B", rgb2i16b},
#ifdef WORDS_BIGENDIAN
{"RGB", "I;16N", rgb2i16b},
#else
{"RGB", "I;16N", rgb2i16l},
#endif
{"RGB", "F", rgb2f}, {"RGB", "F", rgb2f},
{"RGB", "BGR;15", rgb2bgr15}, {"RGB", "BGR;15", rgb2bgr15},
{"RGB", "BGR;16", rgb2bgr16}, {"RGB", "BGR;16", rgb2bgr16},