mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 20:03:20 +03:00
XXX disable PyImaging_MapBuffer
This commit is contained in:
parent
9cbb840861
commit
90840ae38c
|
@ -204,6 +204,9 @@ class ImageFile(Image.Image):
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
seek = self.fp.seek
|
seek = self.fp.seek
|
||||||
|
|
||||||
|
# XXX hack202406 disable unmodified code path
|
||||||
|
use_mmap = False
|
||||||
|
|
||||||
if use_mmap:
|
if use_mmap:
|
||||||
# try memory mapping
|
# try memory mapping
|
||||||
decoder_name, extents, offset, args = self.tile[0]
|
decoder_name, extents, offset, args = self.tile[0]
|
||||||
|
|
|
@ -96,7 +96,8 @@
|
||||||
/* Configuration stuff. Feel free to undef things you don't need. */
|
/* Configuration stuff. Feel free to undef things you don't need. */
|
||||||
#define WITH_IMAGECHOPS /* ImageChops support */
|
#define WITH_IMAGECHOPS /* ImageChops support */
|
||||||
#define WITH_IMAGEDRAW /* ImageDraw support */
|
#define WITH_IMAGEDRAW /* ImageDraw support */
|
||||||
#define WITH_MAPPING /* use memory mapping to read some file formats */
|
// XXX hack202406 disable unmodified code path
|
||||||
|
// #define WITH_MAPPING /* use memory mapping to read some file formats */
|
||||||
#define WITH_IMAGEPATH /* ImagePath stuff */
|
#define WITH_IMAGEPATH /* ImagePath stuff */
|
||||||
#define WITH_ARROW /* arrow graphics stuff (experimental) */
|
#define WITH_ARROW /* arrow graphics stuff (experimental) */
|
||||||
#define WITH_EFFECTS /* special effects */
|
#define WITH_EFFECTS /* special effects */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user