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
Add API to read CF_BITMAP #12
Comments
Is it possible to write an image file to clipboard currently? |
Sadly no, I'm only able to read BMP as I wasn't sure how to write it so I left it for now. |
Is it correct that I saw that the I'm too not familiar with using winapi from rust, but maybe we can work together to implement this feature? |
I've been having such a hard time placing an image into the clipboard, that I've decided to wait. |
Ok, I'll give it a try on this weekend and will try to implement simple API to serialize BMP into suitable format for clipboard |
@matheuslessarodrigues I wasn't able to make I'll give your code a try on this weekend |
I tired using Also, sorry about this but I just dicovered that the code I posted does NOT work in release mode. |
Just updated the code in https://github.com/matheuslessarodrigues/copycat/blob/master/src/main.rs Btw, that code was translated from this: https://docs.microsoft.com/en-us/windows/win32/gdi/storing-an-image |
hm you probably could just make PR? :) |
Just made one! #13 |
Released as part of |
subj
The text was updated successfully, but these errors were encountered: