We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b6249 commit a03e62cCopy full SHA for a03e62c
bitmap/__init__.py
@@ -210,7 +210,7 @@ def getRawPixelData(self):
210
211
def getPixels(self):
212
"""Convert the raw pixels to an X Y grid system"""
213
- array = np.array(list(self.raw[54:]))
+ array = np.array(list(self.raw[Image(self.raw).__getBytesAwayFromColorTable():]))
214
grid = array.reshape(-1, Image.getBitmapWidth(self), 3)
215
self.grid = grid.tolist()
216
return grid.tolist()
@@ -228,6 +228,9 @@ def reform(self):
228
entire.append(k)
229
return bytes(entire)
230
231
+ def create(self):
232
+
233
+ pass
234
235
236
0 commit comments