A practical way to crop large GIF animation files.
- Choose a GIF file
- Click the image to select the crop start/end positions
- Check if the output size is correct
- Press "Clear Selection" if you want to select again
- Check if you want to preserve the input GIF fps
- "Preserve FPS" will take longer to export
- Press "Crop My GIF" to export it
- Done!
Just download the zip at Releases, extract and run the .exe file. No installation needed.
Yes! In other words, you need just Crop-My-GIF.exe to run this app. To uninstall, just delete it.
First, open the command-line and check your Python version. This app was made using Python 3.10.3:
py --version
Now, install virtualenv if you don't have it:
py -m pip install virtualenv
Clone the repository and change the directory to it:
git clone https://github.com/MachWheel/Crop-My-GIF.git
cd Crop-My-GIF
Create a virtualenv for the project, then activate it:
py -m venv venv
.\venv\Scripts\activate
Install project dependencies:
py -m pip install -r requirements.txt
Done. Now you can run the app typing:
py main.py
cd Crop-My-GIF
.\venv\Scripts\activate
cd compile
.\compile.bat
- The folder containing the generated .exe file will be opened automatically
Inside Crop-My-GIF virtualenv, change the directory to compile folder and run pyinstaller:
cd compile
pyinstaller -w --onefile ..\main.py --icon app.ico --name Crop-My-GIF --splash splashfile.jpg
- The generated .exe file will be in .\compile\dist folder.
imageio==2.18.0
imageio-ffmpeg==0.4.7
moviepy==1.0.3
Pillow==9.1.0
pyinstaller==5.0.1
pyinstaller-hooks-contrib==2022.4
PySimpleGUI==4.59.0
pywin32-ctypes==0.2.0
screeninfo==0.8