jneilliii / OctoPrint-PrusaSlicerThumbnails

91 stars 20 forks source link

take longest encoded thumbnail in each file (likely the highter resol… #86

Closed iviar closed 2 years ago

iviar commented 2 years ago

take longest encoded thumbnail in each file

A file with multiple thumbnails had only the last selected. So a high resolution thumbnail was ignored if present before a low resolution one.

With this change the longest thumbnail encoding is selected for decoding.