mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Merge pull request #3910 from radarhere/xrgb
Changed bits value for XRGB unpackers
This commit is contained in:
commit
c1b3adbd1b
|
@ -201,7 +201,8 @@ table describes some commonly used **raw modes**:
|
||||||
+-----------+-----------------------------------------------------------------+
|
+-----------+-----------------------------------------------------------------+
|
||||||
| ``BGR`` | 24-bit true colour, stored as (blue, green, red). |
|
| ``BGR`` | 24-bit true colour, stored as (blue, green, red). |
|
||||||
+-----------+-----------------------------------------------------------------+
|
+-----------+-----------------------------------------------------------------+
|
||||||
| ``RGBX`` | 24-bit true colour, stored as (red, green, blue, pad). |
|
| ``RGBX`` | 24-bit true colour, stored as (red, green, blue, pad). The pad |
|
||||||
|
| | pixels may vary. |
|
||||||
+-----------+-----------------------------------------------------------------+
|
+-----------+-----------------------------------------------------------------+
|
||||||
| ``RGB;L`` | 24-bit true colour, line interleaved (first all red pixels, then|
|
| ``RGB;L`` | 24-bit true colour, line interleaved (first all red pixels, then|
|
||||||
| | all green pixels, finally all blue pixels). |
|
| | all green pixels, finally all blue pixels). |
|
||||||
|
|
|
@ -1333,7 +1333,7 @@ static struct {
|
||||||
{"RGB", "RGBX;L", 32, unpackRGBAL},
|
{"RGB", "RGBX;L", 32, unpackRGBAL},
|
||||||
{"RGB", "RGBA;L", 32, unpackRGBAL},
|
{"RGB", "RGBA;L", 32, unpackRGBAL},
|
||||||
{"RGB", "BGRX", 32, ImagingUnpackBGRX},
|
{"RGB", "BGRX", 32, ImagingUnpackBGRX},
|
||||||
{"RGB", "XRGB", 24, ImagingUnpackXRGB},
|
{"RGB", "XRGB", 32, ImagingUnpackXRGB},
|
||||||
{"RGB", "XBGR", 32, ImagingUnpackXBGR},
|
{"RGB", "XBGR", 32, ImagingUnpackXBGR},
|
||||||
{"RGB", "YCC;P", 24, ImagingUnpackYCC},
|
{"RGB", "YCC;P", 24, ImagingUnpackYCC},
|
||||||
{"RGB", "R", 8, band0},
|
{"RGB", "R", 8, band0},
|
||||||
|
@ -1403,7 +1403,7 @@ static struct {
|
||||||
{"RGBX", "RGBX;16L", 64, unpackRGBA16L},
|
{"RGBX", "RGBX;16L", 64, unpackRGBA16L},
|
||||||
{"RGBX", "RGBX;16B", 64, unpackRGBA16B},
|
{"RGBX", "RGBX;16B", 64, unpackRGBA16B},
|
||||||
{"RGBX", "BGRX", 32, ImagingUnpackBGRX},
|
{"RGBX", "BGRX", 32, ImagingUnpackBGRX},
|
||||||
{"RGBX", "XRGB", 24, ImagingUnpackXRGB},
|
{"RGBX", "XRGB", 32, ImagingUnpackXRGB},
|
||||||
{"RGBX", "XBGR", 32, ImagingUnpackXBGR},
|
{"RGBX", "XBGR", 32, ImagingUnpackXBGR},
|
||||||
{"RGBX", "YCC;P", 24, ImagingUnpackYCC},
|
{"RGBX", "YCC;P", 24, ImagingUnpackYCC},
|
||||||
{"RGBX", "R", 8, band0},
|
{"RGBX", "R", 8, band0},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user