mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Rewrap intelligently
This commit is contained in:
parent
bb75b2d6ad
commit
ca24a44100
|
@ -1123,8 +1123,8 @@ def _save(im, fp, filename):
|
|||
|
||||
ifd = ImageFileDirectory_v2(prefix=prefix)
|
||||
|
||||
compression = im.encoderinfo.get('compression', im.info.get('compression',
|
||||
'raw'))
|
||||
compression = im.encoderinfo.get('compression',
|
||||
im.info.get('compression', 'raw'))
|
||||
|
||||
libtiff = WRITE_LIBTIFF or compression != 'raw'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user