Skip to content

Commit

Permalink
Merge branch 'marc1uk-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
HoroTW committed Jan 7, 2022
2 parents 4808097 + 153119c commit 3893b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pixoo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def draw_anim(self, filepaths, speed=100):

def encode_image(self, filepath):
img = Image.open(filepath)
img = img.convert(mode="P", palette=Image.ADAPTIVE, colors=256).convert(mode="RGB")
img = img.convert(mode="P", palette=Image.ADAPTIVE, colors=256).convert(mode="RGBA")
return self.encode_raw_image(img)

def encode_raw_image(self, img):
Expand Down

0 comments on commit 3893b0d

Please sign in to comment.