There are some Codes what will help us to translate images to gif.