-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I use wf-info to obtain the region information of the window, and then pass it to wl-screenrec. I've noticed that there seems to be an unexpected border on the left side. However, when I use wf-recorder to record the same region, I don't encounter this issue.

I can't guarantee whether wf-info has obtained the correct region, so I generated a pure black image with a resolution of 2560x1440, which matches my screen. I then added a white line at the pixel positions x=99, x=198, y=99, and y=198 on the image.

Then, I recorded the (99,99 100x100) region separately using wl-screenrec and wf-recorder. In theory, there should have been a white pixel border in the recording. wf-recorder indeed captured it, while wl-screenrec seemed to have a bit of an issue, as shown in the following image.

I then attempted to use wl-screenrec to record the (100,100 100x100) region to see if it was a simple offset issue. The result is as follows, the image dimensions are indeed 100x100 but it appears that it's not just a matter of offset.
