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

fix: Windows clipboard image color is abnormal #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

horou-dsk
Copy link

修复 windows 下写入图片到剪切板颜色异常问题

@ChurchTao
Copy link
Owner

@horou-dsk 你是什么情况下,写入图片会有异常?我测试的时候使用自带的截图工具,截图之后粘贴,颜色都是正常的

@horou-dsk
Copy link
Author

@horou-dsk 你是什么情况下,写入图片会有异常?我测试的时候使用自带的截图工具,截图之后粘贴,颜色都是正常的

我使用 https://github.com/aamiros/screenshot.git 我的这个项目进行截图,写入png图片到剪切板颜色会变成这样子

image

粘贴到微信也是这样

image

但是刚截完直接粘贴到github上却是正常的

image

在windows 11剪切板记录里面选择粘贴到github又是错误的颜色

image

@ChurchTao
Copy link
Owner

@horou-dsk

可以请你使用 fix/win/image 分支的代码,测试一下你的问题吗?

改动如下 PR:#58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants