Skip to content

Fix: Adjust DPI Scaling and Visibility Issues for Screen Captures#1

Open
TheNevix wants to merge 3 commits intoAKouki:masterfrom
TheNevix:master
Open

Fix: Adjust DPI Scaling and Visibility Issues for Screen Captures#1
TheNevix wants to merge 3 commits intoAKouki:masterfrom
TheNevix:master

Conversation

@TheNevix
Copy link
Copy Markdown

@TheNevix TheNevix commented Mar 23, 2024

This pull request addresses several issues encountered with screen capture functionality in the SCapture project. Here's a breakdown of the changes and their benefits:

Fixes Implemented:

  1. DPI Scaling Adjustment: Implemented DPI scaling adjustments for the full screen capture method. This ensures that screen captures are accurate on high-DPI displays, fixing previous issues where captures were not correctly scaled to the system's DPI settings.

  2. Selection Visibility: Modified the region capture workflow to hide the selection rectangle. Also fixed the opacity which was not being set to normal after selecting a region. This resolves the issue where the selection rectangle was visible and that the screen is not darker because of the opacity.

  3. Capture Region Accuracy: Refined the calculation of the capture region to ensure the selected area corresponds exactly to the user's intention, particularly addressing offsets that appeared in the captured images.

  4. Consistent Area Selection: Ensure consistent selection area in region selections.

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.

1 participant