mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
Quickfix number 4
Until tests pass.
This commit is contained in:
parent
497ddf9c68
commit
c8551770eb
|
@ -171,7 +171,7 @@ class BmpImageFile(ImageFile.ImageFile):
|
||||||
|
|
||||||
#------------------------------ Finally set the tile data for the plugin
|
#------------------------------ Finally set the tile data for the plugin
|
||||||
self.info['compression'] = file_info['compression']
|
self.info['compression'] = file_info['compression']
|
||||||
self.tile = [('raw', (0, 0, file_info['width'], file_info['height']), self.fp.tell(),
|
self.tile = [('raw', (0, 0, file_info['width'], file_info['height']), file_info['image_offset'],
|
||||||
(raw_mode, ((file_info['width'] * file_info['bits'] + 31) >> 3) & (~3), file_info['direction'])
|
(raw_mode, ((file_info['width'] * file_info['bits'] + 31) >> 3) & (~3), file_info['direction'])
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user