mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 10:56:18 +03:00
Added 301 and 532 to core tags
This commit is contained in:
parent
e2ac1d1c34
commit
56dfc4a956
|
@ -485,9 +485,6 @@ LIBTIFF_CORE = {
|
|||
65537,
|
||||
}
|
||||
|
||||
LIBTIFF_CORE.remove(301) # Array of short, crashes
|
||||
LIBTIFF_CORE.remove(532) # Array of long, crashes
|
||||
|
||||
LIBTIFF_CORE.remove(255) # We don't have support for subfiletypes
|
||||
LIBTIFF_CORE.remove(322) # We don't have support for writing tiled images with libtiff
|
||||
LIBTIFF_CORE.remove(323) # Tiled images
|
||||
|
|
|
@ -647,7 +647,7 @@ PyImaging_LibTiffEncoderNew(PyObject *self, PyObject *args) {
|
|||
const int core_tags[] = {256, 257, 258, 259, 262, 263, 266, 269, 274,
|
||||
277, 278, 280, 281, 340, 341, 282, 283, 284,
|
||||
286, 287, 296, 297, 320, 321, 338, 32995, 32998,
|
||||
32996, 339, 32997, 330, 531, 530, 65537};
|
||||
32996, 339, 32997, 330, 531, 530, 65537, 301, 532};
|
||||
|
||||
Py_ssize_t tags_size;
|
||||
PyObject *item;
|
||||
|
|
Loading…
Reference in New Issue
Block a user