Skip to content
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

Strange behavior in Windows #10

Open
hyrodium opened this issue Jun 4, 2021 · 0 comments
Open

Strange behavior in Windows #10

hyrodium opened this issue Jun 4, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@hyrodium
Copy link
Owner

hyrodium commented Jun 4, 2021

These tests should be fixed.

# FIXME, windows..
if Sys.iswindows()
@test RGBA.(img) == img2
else
@test img == img2
end

# FIXME, windows..
if !Sys.iswindows()
@test img == img2
end

The _powershell_copy and _powershell_paste methods uses [Windows.Forms.Clipboard]::GetImage and [System.Windows.Forms.Clipboard]::SetImage, but these functions can't deal with alpha channel correctly.
https://github.com/hyrodium/ImageClipboard.jl/blob/df6f881d635304ce925f2996ba5d736893bbae92/src/_powershell.jl

@hyrodium hyrodium added the help wanted Extra attention is needed label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant