Skip to content

Commit

Permalink
Merge pull request #5517 from kmilos/patch-1
Browse files Browse the repository at this point in the history
Explicitly enable strip chopping for large uncompressed TIFFs
  • Loading branch information
radarhere committed Dec 30, 2021
2 parents aa287bc + fa66d15 commit 6565d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libImaging/TiffDecode.c
Expand Up @@ -543,7 +543,7 @@ ImagingLibTiffDecode(
Imaging im, ImagingCodecState state, UINT8 *buffer, Py_ssize_t bytes) {
TIFFSTATE *clientstate = (TIFFSTATE *)state->context;
char *filename = "tempfile.tif";
char *mode = "r";
char *mode = "rC";
TIFF *tiff;
uint16_t photometric = 0; // init to not PHOTOMETRIC_YCBCR
uint16_t compression;
Expand Down

0 comments on commit 6565d5b

Please sign in to comment.