-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
metadata: add support for JPG thumbnails #679
base: master
Are you sure you want to change the base?
Conversation
Oh, why did they do this... 🤦♂️ |
sry... i don't know why... i also cannot find a solution/setting zu change the background color of image. so its just black. |
JPG doesn't have alpha channel, so no surprise the background is black, but I guess we are still missing the QOI image format? |
Yeah. I just search for a default background colour PS, but I don't found anything... |
r"; (thumbnail|thumbnail_JPG)? begin([;/\+=\w\s]+?)" | ||
r"; (?:thumbnail|thumbnail_JPG)? end", data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want both in non-capture mode and not-optional:
r"; (thumbnail|thumbnail_JPG)? begin([;/\+=\w\s]+?)" | |
r"; (?:thumbnail|thumbnail_JPG)? end", data) | |
r"; (?:thumbnail|thumbnail_JPG) begin([;/\+=\w\s]+?)" | |
r"; (?:thumbnail|thumbnail_JPG) end", data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx! I did a force push with the fix. I think arksine merged the commits directly.
Thx to pedrolamas for the regex fix Signed-off-by: Stefan Dej <[email protected]>
6979abb
to
f354f42
Compare
FWIW, my PR to add QOI and JPG thumbnails support to Windows PowerToys has been merged and will be available on the next release! |
This PR adds support for JPG thumbnails. I tested it with PrusaSlicer 2.6.0: