|All requests||>||Equirectangular 2 cubemap||>||Request new recommendation||>||Featured requests||>||No recommendations|
by RalphRoeske - 11 months ago (2022-10-16)
I am looking for a script to transform equirectangular images into six cubemap images.
And I did not find a solution where I could create images after uploading the original image.
There are a lot of Python solutions and lots of code where you must install packages.
I only need a code that makes the calculations without setting up a new operating system.
2. by RalphRoeske - 11 months ago (2022-10-17) Reply
1. by Mat Jung - 11 months ago (2022-10-17) Reply
PHP itself provides a huge image library. I am not authorized to link to it (phpclass restrictions) Google for php imagecrop Don't know myself if there is a width restriction. You may have to crop the original six times to get your slices. Good luck
3. by RalphRoeske - 11 months ago (2022-10-17) in reply to comment 1 by Mat Jung Comment
An hour ago I found a great Code-snippet on Github. Unbelievable good solution - short; just some lines and works perfect. I only have to code the saving of the images to the server (what I am just doing) and that's it 🙂👍