Restrict the empty input and create the gif file.