Convert image to equirectangular python. It provides options to choose the output layout .