Skip to content

Commit

Permalink
Merge d3858e5 into 11059cb
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jun 7, 2019
2 parents 11059cb + d3858e5 commit 199f87f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PIL/BmpImagePlugin.py
Expand Up @@ -74,7 +74,8 @@ class BmpImageFile(ImageFile.ImageFile):
'JPEG': 4,
'PNG': 5
}
RAW, RLE8, RLE4, BITFIELDS, JPEG, PNG = 0, 1, 2, 3, 4, 5
for k, v in COMPRESSIONS.items():
vars()[k] = v

def _bitmap(self, header=0, offset=0):
""" Read relevant info about the BMP """
Expand Down

0 comments on commit 199f87f

Please sign in to comment.