mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Aligned comments correctly
This commit is contained in:
parent
209faf1b62
commit
ce62dca326
|
@ -322,11 +322,11 @@ def _save(im, fp, filename, bitmap_header=True):
|
|||
if bitmap_header:
|
||||
offset = 14 + header + colors * 4
|
||||
fp.write(
|
||||
b"BM"
|
||||
+ o32(offset + image) # file type (magic)
|
||||
+ o32(0) # file size
|
||||
+ o32(offset) # reserved
|
||||
) # image data offset
|
||||
b"BM" # file type (magic)
|
||||
+ o32(offset + image) # file size
|
||||
+ o32(0) # reserved
|
||||
+ o32(offset) # image data offset
|
||||
)
|
||||
|
||||
# bitmap info header
|
||||
fp.write(
|
||||
|
|
Loading…
Reference in New Issue
Block a user