Here is a 2.6 MB GIF that I would like to post in a Stack Exchange question. That means it needs to be under 2 MB or 2 MiB (I can't remember which).


Viewing the GIF frame-by-frame with Preview, I can see that there are

  1. Some doubled frames that could be removed
  2. Some frames at the end that could be removed

In addition I might want to

  1. resize all frames by say 20%
  2. slow down the replay speed to compensate for the removed doubled-frames

Can I do any (or even all) of these using Preview (or anything else available standard in MacOS) and then save as a repeating GIF?

Update: I was successful in deleting enough frames using Preview, and to successfully include the edited GIF in an SE question with some difficulty (Preview freezes and "jiggling thumbnail" warnings. However that converts it to a non-repeating GIF.

GIF is now non-repeating, reload to replay, or watch the video: https://youtu.be/3oryJMdonUA

enter image description here

  • 1
    I don't know any default OSX apps, that could edit GIF like you described above. I haven't tried it so I don't know if it's possible, but you could try using the automator and edit frame by frame systematically. But slowing the replay speed... I suggest using the online browser GIF editor. – user321280 Feb 16 '19 at 2:49
  • 1
    @VictorFran I totally forgot about Automator, thanks! I'll have a look to see what's possible. I'm more of a python than an online person, so if I can't find a way to do this with MacOS I'll do it by scripting. – uhoh Feb 16 '19 at 3:10
  • 1
    @VictorFran I've had partial success, see edit. – uhoh Feb 16 '19 at 3:58
  • 1
    Here ya go. i.imgur.com/2zFDlC0.gif . Resized for you. 1.8 mb – wch1zpink Feb 16 '19 at 4:28
  • 1
    This is what I used. gfycat.com/gifbrewery – wch1zpink Feb 16 '19 at 4:39

Yes you can. Open the gif in Preview and you'll get (I got) 48 images. Click on the "View" menu and select "Thumbnails" to display all images as Thumbnails. Give it a second or 2 to display all images. Once that is done go to "Edit" menu and select "display all" or click ⌘-a (command-a) to select all the thumbnails. Next go to "Tools" in the menu bar and select "Adjust Size". This brings up a pane where you can adjust the image size using standard sizes or by the number of pixels. It will use your settings on all selected thumbnails.

| improve this answer | |
  • I have been able to delete frames and save, I'll try this next, thank you! However, when I saved, the GIF no longer played continuously. I've tried resizing as you describe, and I get the single-play results as well. Do you know if there's any way to avoid this? i.stack.imgur.com/BWMOA.gif – uhoh Feb 16 '19 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .