Aligned comments correctly

This commit is contained in:
Andrew Murray 2019-12-21 08:15:48 +11:00
parent 209faf1b62
commit ce62dca326

View File

@ -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(