Optimizing animated images

it would be cool to have it there, because it can significaly shring filesize of animated image
http://php.net/manual/en/imagick.optimizeimagelayers.php

it can be like this even for nonanimated images, or you can add git format condition