[GH-ISSUE #1318] [Bug] Extra line of white pixels at the bottom of my gifs #967

Open
opened 2026-02-26 09:33:10 +03:00 by kerem · 9 comments
Owner

Originally created by @SilentSin on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1318

Originally assigned to: @NickeManarin on GitHub.

Describe the bug

I'm getting an extra line of white pixels at the bottom of every gif I record.

To Reproduce

  1. Set the height of the recording area to 400.
  2. Record a gif.
  3. Go to the Statistics tab.
  4. It shows the Frame Size height as 401.

Expected behavior

The gif should have the exact dimensions specified before starting the recording.

Screenshots

Adding a progress bar puts it right at the bottom so you can see it has a different bottom to the rest of the gif:

image

The issue issn't caused by the progress bar though:

image

Desktop

  • OS: Windows 11
  • Version 2.41
Originally created by @SilentSin on GitHub (Jul 14, 2024). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1318 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** I'm getting an extra line of white pixels at the bottom of every gif I record. **To Reproduce** 1. Set the height of the recording area to `400`. 2. Record a gif. 3. Go to the Statistics tab. 4. It shows the Frame Size height as `401`. **Expected behavior** The gif should have the exact dimensions specified before starting the recording. **Screenshots** Adding a progress bar puts it right at the bottom so you can see it has a different bottom to the rest of the gif: ![image](https://github.com/user-attachments/assets/b783f69d-bc42-4ded-8336-b38bacafe59b) The issue issn't caused by the progress bar though: ![image](https://github.com/user-attachments/assets/13d4340e-7f74-484e-ae0b-90659b9d4f8c) **Desktop** - OS: Windows 11 - Version 2.41
Author
Owner

@SilentSin commented on GitHub (Jul 14, 2024):

Enabling Hide the title bar (thin mode) in the settings seems to have changed the behaviour to:

  1. Set the recording area to 250x400.
  2. Record a gif.
  3. Statistics shows 250x400.
  4. Go back to the recorder.
  5. Now its size is 250x399.
  6. Recording at that size stays there.
<!-- gh-comment-id:2227337300 --> @SilentSin commented on GitHub (Jul 14, 2024): Enabling `Hide the title bar (thin mode)` in the settings seems to have changed the behaviour to: 1. Set the recording area to 250x400. 2. Record a gif. 3. Statistics shows 250x400. 4. Go back to the recorder. 5. Now its size is 250x399. 6. Recording at that size stays there.
Author
Owner

@SilentSin commented on GitHub (Jul 14, 2024):

Setting the recorder interface to New mode has a similar problem: 250x400 is coming in as 249x399.

<!-- gh-comment-id:2227338576 --> @SilentSin commented on GitHub (Jul 14, 2024): Setting the recorder interface to New mode has a similar problem: 250x400 is coming in as 249x399.
Author
Owner

@tipsheda commented on GitHub (Jul 23, 2024):

I get this same issue with this program and with another gif making tool called Licecap. It seemed to start when I started using a 1440p monitor vs 1080p, but I'm not 100% sure on that.

<!-- gh-comment-id:2244049460 --> @tipsheda commented on GitHub (Jul 23, 2024): I get this same issue with this program and with another gif making tool called Licecap. It seemed to start when I started using a 1440p monitor vs 1080p, but I'm not 100% sure on that.
Author
Owner

@SilentSin commented on GitHub (Jul 23, 2024):

I'm on 1080p.

First time on Windows 11 though, I never had this issue in 10.

<!-- gh-comment-id:2244349310 --> @SilentSin commented on GitHub (Jul 23, 2024): I'm on 1080p. First time on Windows 11 though, I never had this issue in 10.
Author
Owner

@tipsheda commented on GitHub (Jul 23, 2024):

Oh yeah, that is to say, I also switched to Windows 11 around the time I started seeing this issue.

<!-- gh-comment-id:2245464431 --> @tipsheda commented on GitHub (Jul 23, 2024): Oh yeah, that is to say, I also switched to Windows 11 around the time I started seeing this issue.
Author
Owner

@NickeManarin commented on GitHub (Sep 7, 2024):

Which scalling/DPI are you two using?
The recorder has a hard time adjusting to pixel coordinations if the screen has a DPI different than 96 (scale different than 100%).

<!-- gh-comment-id:2335265271 --> @NickeManarin commented on GitHub (Sep 7, 2024): Which scalling/DPI are you two using? The recorder has a hard time adjusting to pixel coordinations if the screen has a DPI different than 96 (scale different than 100%).
Author
Owner

@NickeManarin commented on GitHub (Sep 7, 2024):

image

For example, on Windows 11 here, setting 500x300 created a correct recording.

<!-- gh-comment-id:2335267572 --> @NickeManarin commented on GitHub (Sep 7, 2024): ![image](https://github.com/user-attachments/assets/b721d9e4-3c4a-4fb3-a8de-b5b1c0a7e724) For example, on Windows 11 here, setting 500x300 created a correct recording.
Author
Owner

@SilentSin commented on GitHub (Sep 7, 2024):

I'm on 125% by default and I can confirm that 100% seems to fix the rounding errors for a few sizes I tried, though I never had this issue on my old Windows 10 computer which was also using 125%.

<!-- gh-comment-id:2336482047 --> @SilentSin commented on GitHub (Sep 7, 2024): I'm on 125% by default and I can confirm that 100% seems to fix the rounding errors for a few sizes I tried, though I never had this issue on my old Windows 10 computer which was also using 125%.
Author
Owner

@mzschwartz5 commented on GitHub (Dec 27, 2024):

I'm experiencing this issue on Windows 10. Workaround has been just to crop the gif slightly at the bottom.

<!-- gh-comment-id:2563380060 --> @mzschwartz5 commented on GitHub (Dec 27, 2024): I'm experiencing this issue on Windows 10. Workaround has been just to crop the gif slightly at the bottom.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#967
No description provided.