-
Notifications
You must be signed in to change notification settings - Fork 76
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
Retrieving an image from the clipboard and saving it results in pixel distortion #122
Comments
The pixels on the right side of the image have also moved to the left. |
Hi, thanks for opening this issue. Can I ask what OS (and desktop environment, if applicable) you are seeing this issue in? |
This issue can be reproduced on both Windows 10 and Windows 11. |
I think I'm facing the same issue with arboard 3.3.1. This happens on Windows 10 if I place an image into the clipboard using a bit of C#; I believe this doesn't happen if I use, let's say, Copy image in Chrome. I noticed one curious thing: if a distorted image has 1px height (no matter the width), it will always start as This is how bytes look for a 14x1 red line ( And this is how it looks for a 10x10 red square: |
I have found a reliable way to reproduce the pixel distortion issue when saving an image from the clipboard. Steps to reproduce: Ensure that Hyper-V is enabled on your Windows 10 or Windows 11 system. I hope this information helps in narrowing down the cause of the bug and finding a solution. |
After retrieving the image from the clipboard, I loaded it with the image library and saved it as a PNG, and there are misplaced pixels in the bottom left corner.
The text was updated successfully, but these errors were encountered: