Giter Site home page Giter Site logo

2008上截图是空白的 about xcap HOT 10 CLOSED

lz520520 avatar lz520520 commented on August 20, 2024
2008上截图是空白的

from xcap.

Comments (10)

lz520520 avatar lz520520 commented on August 20, 2024 1

主屏3840_2160,副屏1920_1080

from xcap.

lz520520 avatar lz520520 commented on August 20, 2024 1

测了ok了,就是CreateDC对应DeleteDC,GetDC/GetWindowDC对应ReleaseDC,还是有区别的

from xcap.

lz520520 avatar lz520520 commented on August 20, 2024

还遇到一个问题,我多屏幕的时候,两个屏幕分辨率不同,这个低分辨率的副屏截图会多出来一块主屏的图
image

from xcap.

nashaofu avatar nashaofu commented on August 20, 2024

windows 2008 的server吗?这个没有支持的打算哈

from xcap.

nashaofu avatar nashaofu commented on August 20, 2024

还遇到一个问题,我多屏幕的时候,两个屏幕分辨率不同,这个低分辨率的副屏截图会多出来一块主屏的图 image

这个晚点看一下

from xcap.

lz520520 avatar lz520520 commented on August 20, 2024

我测试了一个golang的库,和你这个项目调用的差不多的接口,他在2008 server上是正常的。
https://github.com/kbinani/screenshot/blob/master/screenshot_windows.go

第二个问题我解决了,你可以参考下,主要是把capture_monitor函数中的monitor句柄换成当前桌面窗口句柄
https://github.com/lz520520/xcap

from xcap.

lz520520 avatar lz520520 commented on August 20, 2024

我08換了台又截了一张,感觉是RGBA颜色问题
image

from xcap.

lz520520 avatar lz520520 commented on August 20, 2024

emmm,问题解决了,应该是2008不支持A
image

from xcap.

nashaofu avatar nashaofu commented on August 20, 2024

还遇到一个问题,我多屏幕的时候,两个屏幕分辨率不同,这个低分辨率的副屏截图会多出来一块主屏的图 image

你的分辨率是怎么设置的,我在自己电脑上复现一下

from xcap.

nashaofu avatar nashaofu commented on August 20, 2024

你可以在你电脑上测试一下这个版本,#94

from xcap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.