mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Rearrange Tiff Encodings List
Refined the order of items in the dict 'OPEN_INFO'.
This commit is contained in:
parent
4d147c16d3
commit
46134f78d2
|
@ -141,34 +141,41 @@ OPEN_INFO = {
|
||||||
(MM, 0, (1,), 1, (1,), ()): ("1", "1;I"),
|
(MM, 0, (1,), 1, (1,), ()): ("1", "1;I"),
|
||||||
(II, 0, (1,), 2, (1,), ()): ("1", "1;IR"),
|
(II, 0, (1,), 2, (1,), ()): ("1", "1;IR"),
|
||||||
(MM, 0, (1,), 2, (1,), ()): ("1", "1;IR"),
|
(MM, 0, (1,), 2, (1,), ()): ("1", "1;IR"),
|
||||||
|
(II, 1, (1,), 1, (1,), ()): ("1", "1"),
|
||||||
|
(MM, 1, (1,), 1, (1,), ()): ("1", "1"),
|
||||||
|
(II, 1, (1,), 2, (1,), ()): ("1", "1;R"),
|
||||||
|
(MM, 1, (1,), 2, (1,), ()): ("1", "1;R"),
|
||||||
|
|
||||||
|
(II, 1, (1,), 1, (4,), ()): ("L", "L;4"),
|
||||||
|
# ?
|
||||||
|
|
||||||
(II, 0, (1,), 1, (8,), ()): ("L", "L;I"),
|
(II, 0, (1,), 1, (8,), ()): ("L", "L;I"),
|
||||||
(MM, 0, (1,), 1, (8,), ()): ("L", "L;I"),
|
(MM, 0, (1,), 1, (8,), ()): ("L", "L;I"),
|
||||||
(II, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
|
(II, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
|
||||||
(MM, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
|
(MM, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
|
||||||
(II, 0, (3,), 1, (32,), ()): ("F", "F;32F"),
|
|
||||||
(MM, 0, (3,), 1, (32,), ()): ("F", "F;32BF"),
|
|
||||||
(II, 1, (1,), 1, (1,), ()): ("1", "1"),
|
|
||||||
(MM, 1, (1,), 1, (1,), ()): ("1", "1"),
|
|
||||||
(II, 1, (1,), 1, (4,), ()): ("L", "L;4"),
|
|
||||||
# ?
|
|
||||||
(II, 1, (1,), 2, (1,), ()): ("1", "1;R"),
|
|
||||||
(MM, 1, (1,), 2, (1,), ()): ("1", "1;R"),
|
|
||||||
(II, 1, (1,), 1, (8,), ()): ("L", "L"),
|
(II, 1, (1,), 1, (8,), ()): ("L", "L"),
|
||||||
(MM, 1, (1,), 1, (8,), ()): ("L", "L"),
|
(MM, 1, (1,), 1, (8,), ()): ("L", "L"),
|
||||||
(II, 1, (1,), 1, (8, 8), (2,)): ("LA", "LA"),
|
|
||||||
(MM, 1, (1,), 1, (8, 8), (2,)): ("LA", "LA"),
|
|
||||||
(II, 1, (1,), 2, (8,), ()): ("L", "L;R"),
|
(II, 1, (1,), 2, (8,), ()): ("L", "L;R"),
|
||||||
(MM, 1, (1,), 2, (8,), ()): ("L", "L;R"),
|
(MM, 1, (1,), 2, (8,), ()): ("L", "L;R"),
|
||||||
|
|
||||||
(II, 1, (1,), 1, (12,), ()): ("I;16", "I;12"),
|
(II, 1, (1,), 1, (12,), ()): ("I;16", "I;12"),
|
||||||
|
|
||||||
(II, 1, (1,), 1, (16,), ()): ("I;16", "I;16"),
|
(II, 1, (1,), 1, (16,), ()): ("I;16", "I;16"),
|
||||||
(MM, 1, (1,), 1, (16,), ()): ("I;16B", "I;16B"),
|
(MM, 1, (1,), 1, (16,), ()): ("I;16B", "I;16B"),
|
||||||
(II, 1, (2,), 1, (16,), ()): ("I;16S", "I;16S"),
|
(II, 1, (2,), 1, (16,), ()): ("I;16S", "I;16S"),
|
||||||
(MM, 1, (2,), 1, (16,), ()): ("I;16BS", "I;16BS"),
|
(MM, 1, (2,), 1, (16,), ()): ("I;16BS", "I;16BS"),
|
||||||
|
|
||||||
|
(II, 0, (3,), 1, (32,), ()): ("F", "F;32F"),
|
||||||
|
(MM, 0, (3,), 1, (32,), ()): ("F", "F;32BF"),
|
||||||
(II, 1, (1,), 1, (32,), ()): ("I", "I;32N"),
|
(II, 1, (1,), 1, (32,), ()): ("I", "I;32N"),
|
||||||
(II, 1, (2,), 1, (32,), ()): ("I", "I;32S"),
|
(II, 1, (2,), 1, (32,), ()): ("I", "I;32S"),
|
||||||
(MM, 1, (2,), 1, (32,), ()): ("I;32BS", "I;32BS"),
|
(MM, 1, (2,), 1, (32,), ()): ("I;32BS", "I;32BS"),
|
||||||
(II, 1, (3,), 1, (32,), ()): ("F", "F;32F"),
|
(II, 1, (3,), 1, (32,), ()): ("F", "F;32F"),
|
||||||
(MM, 1, (3,), 1, (32,), ()): ("F", "F;32BF"),
|
(MM, 1, (3,), 1, (32,), ()): ("F", "F;32BF"),
|
||||||
|
|
||||||
|
(II, 1, (1,), 1, (8, 8), (2,)): ("LA", "LA"),
|
||||||
|
(MM, 1, (1,), 1, (8, 8), (2,)): ("LA", "LA"),
|
||||||
|
|
||||||
(II, 2, (1,), 1, (8, 8, 8), ()): ("RGB", "RGB"),
|
(II, 2, (1,), 1, (8, 8, 8), ()): ("RGB", "RGB"),
|
||||||
(MM, 2, (1,), 1, (8, 8, 8), ()): ("RGB", "RGB"),
|
(MM, 2, (1,), 1, (8, 8, 8), ()): ("RGB", "RGB"),
|
||||||
(II, 2, (1,), 2, (8, 8, 8), ()): ("RGB", "RGB;R"),
|
(II, 2, (1,), 2, (8, 8, 8), ()): ("RGB", "RGB;R"),
|
||||||
|
@ -183,6 +190,7 @@ OPEN_INFO = {
|
||||||
(MM, 2, (1,), 1, (8, 8, 8, 8), (2,)): ("RGBA", "RGBA"),
|
(MM, 2, (1,), 1, (8, 8, 8, 8), (2,)): ("RGBA", "RGBA"),
|
||||||
(II, 2, (1,), 1, (8, 8, 8, 8), (999,)): ("RGBA", "RGBA"), # Corel Draw 10
|
(II, 2, (1,), 1, (8, 8, 8, 8), (999,)): ("RGBA", "RGBA"), # Corel Draw 10
|
||||||
(MM, 2, (1,), 1, (8, 8, 8, 8), (999,)): ("RGBA", "RGBA"), # Corel Draw 10
|
(MM, 2, (1,), 1, (8, 8, 8, 8), (999,)): ("RGBA", "RGBA"), # Corel Draw 10
|
||||||
|
|
||||||
(II, 3, (1,), 1, (1,), ()): ("P", "P;1"),
|
(II, 3, (1,), 1, (1,), ()): ("P", "P;1"),
|
||||||
(MM, 3, (1,), 1, (1,), ()): ("P", "P;1"),
|
(MM, 3, (1,), 1, (1,), ()): ("P", "P;1"),
|
||||||
(II, 3, (1,), 2, (1,), ()): ("P", "P;1R"),
|
(II, 3, (1,), 2, (1,), ()): ("P", "P;1R"),
|
||||||
|
@ -201,10 +209,13 @@ OPEN_INFO = {
|
||||||
(MM, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
(MM, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
||||||
(II, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
(II, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
||||||
(MM, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
(MM, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
||||||
|
|
||||||
(II, 5, (1,), 1, (8, 8, 8, 8), ()): ("CMYK", "CMYK"),
|
(II, 5, (1,), 1, (8, 8, 8, 8), ()): ("CMYK", "CMYK"),
|
||||||
(MM, 5, (1,), 1, (8, 8, 8, 8), ()): ("CMYK", "CMYK"),
|
(MM, 5, (1,), 1, (8, 8, 8, 8), ()): ("CMYK", "CMYK"),
|
||||||
|
|
||||||
(II, 6, (1,), 1, (8, 8, 8), ()): ("YCbCr", "YCbCr"),
|
(II, 6, (1,), 1, (8, 8, 8), ()): ("YCbCr", "YCbCr"),
|
||||||
(MM, 6, (1,), 1, (8, 8, 8), ()): ("YCbCr", "YCbCr"),
|
(MM, 6, (1,), 1, (8, 8, 8), ()): ("YCbCr", "YCbCr"),
|
||||||
|
|
||||||
(II, 8, (1,), 1, (8, 8, 8), ()): ("LAB", "LAB"),
|
(II, 8, (1,), 1, (8, 8, 8), ()): ("LAB", "LAB"),
|
||||||
(MM, 8, (1,), 1, (8, 8, 8), ()): ("LAB", "LAB"),
|
(MM, 8, (1,), 1, (8, 8, 8), ()): ("LAB", "LAB"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user