-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Hi! Thanks for your work maintaining this crate.
I was wondering if there's any reason not to fetch image data in PNG format on Windows. For context, I've run into a case where images copied from Firefox lose transparency data, I think due to a longstanding bug (this one? 17 years old!!); the results of get().image() have all zeroes in the alpha channel. My sense from a quick google is that implementation of transparency for CF_DIBV5 is inconsistent at best, and switching to PNG would make things more robust. But I know next to nothing about Windows 😁
Related: I saw that https://github.com/1Password/arboard/pull/141/files has already implemented setting images in PNG.
If this seems like a reasonable idea to you, I'd be happy to have a go at the implementation!