I've been looking at various gif optimizers and converters and I couldn't find one that would work good for me.
The function in the app I'm looking for is comparing frames of an animated gifs, determining which consecutive frames are similar enough to unnoticeably remove them and merge their display duration.
For example, frames 2 through 5 are the same, and each of them is shown for 0.02 second. Frames 3,4,5 are deleted and frame 2 is shown for a total of 0.08 seconds.
What application or an image-processing toolkit has the ability to do that automatically? I'm not looking for solutions that mean I will have to compare the frames myself (like using Photoshop or Gimp for this).