Modify all frames by cropping them to a rectangle, changing their scale, flipping them, and rotating them
gifsicle -b --crop starting_x,starting_y+rect_widthxrect_height --scale 0.25 --flip-horizontal --rotate-90|180|270 path/to/input.gif