mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Added RGB to I;16N conversion
This commit is contained in:
parent
a4e5dc219c
commit
838bb6c493
|
@ -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},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user