modify gif image