mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +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:
|
if bitmap_header:
|
||||||
offset = 14 + header + colors * 4
|
offset = 14 + header + colors * 4
|
||||||
fp.write(
|
fp.write(
|
||||||
b"BM"
|
b"BM" # file type (magic)
|
||||||
+ o32(offset + image) # file type (magic)
|
+ o32(offset + image) # file size
|
||||||
+ o32(0) # file size
|
+ o32(0) # reserved
|
||||||
+ o32(offset) # reserved
|
+ o32(offset) # image data offset
|
||||||
) # image data offset
|
)
|
||||||
|
|
||||||
# bitmap info header
|
# bitmap info header
|
||||||
fp.write(
|
fp.write(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user