Spawnova / ShinsImageScanClass

A library/class for fast AutoHotKey image/pixel searching
MIT License
69 stars 12 forks source link

Add Windows Graphics Capture as a Capture Method #32

Open Kuyumee opened 1 month ago

Kuyumee commented 1 month ago

Currently, the project supports capturing screen content using the BitBlt method. While this method is functional, it has limitations in terms of performance and compatibility with modern graphics systems.

I propose adding support for Windows Graphics Capture as an alternative capture method. This API offers several advantages:

Improved performance: Generally provides better performance compared to BitBlt, especially for high-resolution and high-refresh-rate displays. DirectX compatibility: Directly integrates with DirectX, allowing for more efficient capture of graphics content. Hardware acceleration: Can leverage hardware acceleration for faster capture.

Spawnova commented 1 month ago

Several alternative capture methods are already in the works, but it's going to be a new library wrapped around a custom DLL Unfortunately progress is somewhat slow due to health reasons, but I have been working on it. =P