-
-
Notifications
You must be signed in to change notification settings - Fork 419
feat: render .pdn
thumbnails.
#1149
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
base: main
Are you sure you want to change the base?
Conversation
Well that's convenient |
Transparent backgrounds appear to be interpreted as pure black in the thumbnail preview, but not in the sidebar preview. |
I'll take a look |
I haven't noticed any other images in my library with a transparent background having a background added. And I'd argue that if it is a behavior in other file types, it should be fixed as it's very unintuitive and unwanted behavior. |
Happens for regular images and exr image. |
Yeah I agree that it should be a separate issue.. |
You're welcome :D |
Summary
Add support for rendering
.pdn
thumbnails.Fixes #1147
.pdn
files have an XML header that contains the thumbnail as a base64 encoded.png
file.The file layout is the following:
PDN3
)The header itself looks like this:
Sources for the file format
Before
After
File used for testing
pdn.zip (The actual file is archived since GitHub doesn't allow uploading
.pdn
files)Tasks Completed