Closed Den41k92 closed 1 year ago
Curious what the benefit is of the new format?
There isn't really a significant one, JPG only saves a few KB on large sized thumbnails. The scope was to extend the compatibility, since all my gcode files were saved with this option.
This small change extends regex filter to also match "thumbnail_JPG" header produced by PrusaSlicer, if an option of thumbnail format is set to JPG.
The GCODE section for this format looks like this (note the added _JPG suffix):
Tested this PR works both with PNG and JPG options on PrusaSlicer 2.5.0