convert gist to image(png,jpeg,gif,pdf)