Forum Moderators: coopster
Does anyone know of a library/function for PHP that allows a user to upload several images and have them joined together into a panoramic picture? The picture would then be used in some sort of DHTML panoramic viewer.
I know it's possible to get desktop software that allows users to make panoramas, but it would be much more useful if they could be generated server-side with php (or even ASP for that matter).
I also had reservations about the fact that users would have to have input into the process. In the last half an hour though, I've managed to find a windows program that stitches photos together without any input from the user. Sure, there are some things that can be tweaked (brightness, etc) but in the vast majority of cases, it's a matter of select photos -> press button -> use panoramic.
Only problems are that it's probably written in C++ (not PHP) and that it's not open source (i.e. no porting to PHP, if such a thing was even possible).
And you're right, the user would have to use a tripod and take care that the photos were good enough to use for a panoramic.
Looking at it from another angle, would it be possible to run a server-side linux program from PHP? If so, one would only need to find a command line program for linux that could stitch the photos together, similar to this other software that I've found. Then the PHP script could call the program, pass it the photos and receive the panoramic back. My PHP skills don't extend this far though... yet :-)