modify gif file