Browse Source

Fix thumbnail format

Width and height should have an "x" instead of space in between.
Coşku Baş 2 years ago
parent
commit
1d45a273d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/PostProcessingPlugin/scripts/CreateThumbnail.py

+ 1 - 1
plugins/PostProcessingPlugin/scripts/CreateThumbnail.py

@@ -37,7 +37,7 @@ class CreateThumbnail(Script):
 
         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])