-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support working with transparent images on Windows #22
Conversation
Edited powershell cmdlets to work with transparency. Added option to toggle transparency while copying to clipboard (as some softwares don't support this format) Fixed grammatical confusion in "push" and "pull" naming scheme
I understand now. Looking from the clipboard's perspective does make more sense. Thanks for clarifying! |
I also see the comment you added that says:
So it turns out that some software does not allow us to paste PNG images? What software have you test and what is the result if we force paste them? |
Softwares like And I don't understand how we can force paste them? |
Oh, I think I got the hang of how it works. Because on Windows each software takes a different type of image data, can we populate the clipboard as many types as we can, as I learned from this answer? Chrome does the same and it offers a lot of types, that's why its copied images can be pasted almost anywhere. |
Oh we can do that? How did I miss that! |
Yeah I think the option should be checked by default and we will include more data types in the future. So with this PR, I think we will finish after adding one more |
Yep that sounds good. And I should be able to add it in the cmdlet myself. I'll work on that later today. |
Yeah, I think we only need that preference when we don't have support for some popular software, otherwise we should keep it so as not to disappoint anyone who uses that software often.
Alright, just make it easy. You just need to push commits to this branch and it will update here. |
script now populates clipboard with both `Bitmap` and `PNG` data. Got rid of the preference and old script entirely because setting 'Bitmap' data is equivalent to using the old method. Hence, no need to switch to it exclusively
Proposed changes
This pull request expects to solve the transparent images issue on Windows.
Resolves #12.