SineWaveGIF is a command-line tool that creates a sine wave animation from an input GIF file.
If you have a cut-out gif and you want it to run in a loop without jumps, you can use the GifsinMaker tool to modify the delays between frames. By adjusting the delays, you can create a smoother loop that doesn't have any noticeable jumps or pauses.
SineWaveGIF is a .NET Core console application and requires .NET Core 3.1 or later to run. You can download the latest version of .NET Core from the official website: https://dotnet.microsoft.com/download
To build SineWaveGIF from source code, you need to have Visual Studio 2019 or later installed.
The SineWaveGIF command-line tool has the following syntax:
SineWaveGIF.exe <input-file> <output-file> <max-delay-ratio> <speed-up-ratio>
Where:
<input-file> is the path to the input GIF file
<output-file> is the path to the output GIF file
<max-delay-ratio> is a double value that controls the maximum delay factor of the sine wave animation.
<speed-up-ratio> is a double value that controls the speed-up factor of the sine wave animation.
To create a sine wave animation from input.gif with a maximum delay ratio of 2 and a speed-up ratio of 1.5, and save the result to output.gif, run the following command:
input.gif
SineWaveGIF.exe input.gif output.gif 2 1.5
output.gif
If you would like to contribute to GifDelayEditor, please fork the project and submit a pull request. We welcome contributions of all kinds, including bug fixes, feature requests, and documentation improvements.
SineWaveGIF is licensed under the MIT License. See the LICENSE file for more information.