These images came from my “dot” (made by kogeto. link)

The app doesn’t seem to be working quite as well as it used to (crashes out), and well requires me to take the case off my iPhone; I am wondering how to turn these images into panoramas using ImageMagick or GD from the command line?

Any thoughts?