A Finder Quick Action that turns selected images into an animated GIF. Select images → right-click → Quick Actions → Create GIF.
- No dependencies: uses only built-in macOS frameworks (ImageIO via JavaScript for Automation).
- Frames are ordered by file name (natural sort, so
2.pngcomes before10.png). - Asks for the delay per frame (default 0.5 s).
- Frames are scaled to at most 800 px on the longest side, respecting EXIF orientation.
- The GIF loops forever and is saved as
animation.gifnext to the first image (animation 2.gif, … if it already exists). - Works with any image format macOS can read (PNG, JPEG, HEIC, TIFF, …).
git clone https://github.com/jcohenadad/macos-create-gif.git
cd macos-create-gif
./install.shDownload the ZIP, unzip it, and double-click Create GIF.workflow. macOS asks whether to install the Quick Action; click Install.
You can also copy Create GIF.workflow into ~/Library/Services/ yourself.
If Create GIF doesn't show up in the right-click menu, open System Settings → General → Login Items & Extensions, scroll to Extensions, click By Category → Finder, and switch on Create GIF.
- In Finder, select two or more images.
- Right-click → Quick Actions → Create GIF.
- Enter the number of seconds per frame and click Create.
animation.gifappears in the same folder.
The first time you use it in a protected folder (Desktop, Documents, Downloads), macOS may ask for permission.
Open ~/Library/Services/Create GIF.workflow in Automator to edit the script. Useful settings in the script:
| Variable | Default | Meaning |
|---|---|---|
delay |
0.5 |
Default seconds per frame shown in the dialog |
maxPx |
800 |
Maximum width/height of each frame, in pixels |
The same script is available on its own in src/create-gif.sh, which you can run from the terminal:
./src/create-gif.sh frame1.png frame2.png frame3.pngrm -rf ~/Library/Services/"Create GIF.workflow"
