def METHOD_NAME(self, update_image=True):
    if not self.operations:
        return self.buffer
    buffer = self.run_gifsicle(" ".join(self.operations))
    self.operations = []
    if update_image:
        self.buffer = buffer
    return buffer