Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use generate.py script in PHP project? #1198

Open
alfatihart opened this issue Dec 29, 2023 · 3 comments
Open

how to use generate.py script in PHP project? #1198

alfatihart opened this issue Dec 29, 2023 · 3 comments
Labels

Comments

@alfatihart
Copy link

I use the library in a virtual tour project using the CodeIgniter 4 framework. So how do I implement or use generate.py to convert to multiresolution format, sir?

@luishcq
Copy link

luishcq commented Dec 30, 2023 via email

@alfatihart
Copy link
Author

I built a dynamic panorama system, where the admin can add and upload equrectangular files to the system. So what is the implementation to run generate.py automatically on the server/system without needing to run it manually outside the panorama system?

@mpetroff
Copy link
Owner

mpetroff commented Jan 7, 2024

So what is the implementation to run generate.py automatically on the server/system without needing to run it manually outside the panorama system?

You'd call the generate.py script from PHP the same way you'd call any other external executable. Just like if you were calling it manually, you'd need to provide the path to the equirectangular input image and the path to the desired output directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants