Skip to content

Commit

Permalink
Merge pull request #11917 from tapir/master
Browse files Browse the repository at this point in the history
Fix thumbnail format
  • Loading branch information
nallath committed Oct 4, 2023
2 parents eeb3814 + 1d45a27 commit aafe38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/PostProcessingPlugin/scripts/CreateThumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _convertSnapshotToGcode(self, encoded_snapshot, width, height, chunk_size=78

encoded_snapshot_length = len(encoded_snapshot)
gcode.append(";")
gcode.append("; thumbnail begin {} {} {}".format(
gcode.append("; thumbnail begin {}x{} {}".format(
width, height, encoded_snapshot_length))

chunks = ["; {}".format(encoded_snapshot[i:i+chunk_size])
Expand Down

0 comments on commit aafe38a

Please sign in to comment.