Skip to content

Commit

Permalink
fix: merge layers
Browse files Browse the repository at this point in the history
  • Loading branch information
a523 committed Nov 13, 2021
1 parent b9fb1fe commit 15f9168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions preview_generator/preview/builder/image__wand.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def _convert_image(self, file_path: str, preview_dims: ImgDims) -> Image:
img.auto_orient()
img.background_color = Color("white")

img.iterator_reset()
img.merge_layers("flatten")

if self.progressive:
Expand Down

0 comments on commit 15f9168

Please sign in to comment.