-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded Gcode thumbnails #2398
Comments
Definately there is one way else and it's working perfect! I use the thumbnail parsel 0 (default-classic). I use this post processing script (it is now compatible with PS2.4 also) , it's flawless. Download this ( https://github.com/effgarces/Biqu-Thumbnail-Generator/releases/download/0.03/biqu_convert_p24.zip ) and copy the standalone script to your prusaslicer.exe folder. Then add the script name to PS just like this: Main topic is: |
News, |
Finally I had some time to look into what's going on with the firmware. After a bit of debugging, I realised that the only reason why the base64PNG thumbnail is not displayed is because the code is looking for it in the wrong place. Let me elaborate:
Looking at the debug logs, the order is exactly the opposite. The fix is super-simple. We simply need to seek back to the beginning of the file before we start looking for the base64PNG comment signature. I'll prep a PR for this. |
Closing as the issue is clear and a fix has been found. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am using PrusaSlicer to generate my Gcode files and unable to get thumbnails to display on the BTT TFT35.
I have modified the PrusaSlicer configuration and enabled the G-code thumbnails and set it to 95x95.
I have changed Configuration.h and set THUMBNAIL_PARSER to 2. After compilation I can see that the RAM usage goes from 20028 bytes to 63940 bytes (which is in line with what's required for the Base64 decoding).
When I browse the files I can see a split second wait (I assume trying to process the embedded thumbnail), but no thumbnail is displayed.
Do I need to do anything else to get thumbnails working?
The text was updated successfully, but these errors were encountered: