Skip to content

Commit

Permalink
Enable strip chopping for large TIFFs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos authored and radarhere committed Jun 30, 2021
1 parent 23b2151 commit fa66d15
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 fa66d15

Please sign in to comment.