JPG Thumbnail crash regression: Wrong JPEG library version: library is 80, caller expects 62

Description:

Slicing with following settings is causing crash:

image

$ prusa-slicer 
[2025-02-10 16:46:10.854307] [0x00007ad8a81fa080] [error]   UserAccount: Failed to read token - no datafile found.
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
16:46:12: Debug: window wxTreeCtrl@0x5b0eb4c6fec0 ("treeCtrl") lost focus even though it didn't have it
Wrong JPEG library version: library is 80, caller expects 62

Additional info:

Steps to reproduce:

  1. Open prusa slicer
  2. Add following preset to thumbnail formats: 300x300/JPG
  3. Import STL and try to slice it
Edited by Tomas Mudrunka