Add gif resize support

add gif resize, save to blob or file