[GH-ISSUE #1116] [Feature Request] Remove space before digits or replace with '-' when saving multiple frames as png. #3083

Closed
opened 2026-03-01 19:06:45 +03:00 by kerem · 0 comments
Owner

Originally created by @agaertner on GitHub (Jun 11, 2022).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1116

Originally assigned to: @NickeManarin on GitHub.

Just a very small thing. When saving an animation per frame into multiple pngs the enumeration is suffixed with a leading space.

It is prone to be accidentally removed when referencing in LaTeX or other software where extensions are omitted.

This is how one inserts 46 frames (react-page-frame <00-45>.png) as an animation into a PDF using LaTeX

\usepackage{animate}
\animategraphics[controls,loop,autoplay,poster=15,width=\linewidth]{12}{./img/react-page-anim/react-page-frame }{00}{45}

Notice the path ending with a space because of the file names containing a space (eg. react-page-frame 01.png).
I would rather have (react-page-frame01.png) or (react-page-frame-01.png) than a space between name and digits because of editors wrapping its contents due to split screen.

Originally created by @agaertner on GitHub (Jun 11, 2022). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1116 Originally assigned to: @NickeManarin on GitHub. Just a very small thing. When saving an animation per frame into multiple pngs the enumeration is suffixed with a leading space. It is prone to be accidentally removed when referencing in LaTeX or other software where extensions are omitted. This is how one inserts 46 frames (``react-page-frame <00-45>.png``) as an animation into a PDF using LaTeX ```tex \usepackage{animate} \animategraphics[controls,loop,autoplay,poster=15,width=\linewidth]{12}{./img/react-page-anim/react-page-frame }{00}{45} ``` Notice the path ending with a space because of the file names containing a space (eg. ``react-page-frame 01.png``). I would rather have (``react-page-frame01.png``) or (``react-page-frame-01.png``) than a space between name and digits because of editors wrapping its contents due to split screen.
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#3083
No description provided.