equirectangular panorama into 6 cube faces?

Hello,

we need to make equirectangular panoramas into 6 cube faces.
A pointer please?

Thanks.

i assume this is a graphical output/ representation - any other representation makes less sense…?

in other words, the output is a drawing or rendering, as opposed to an ordinary matrix/ array?

Completely outside my area of expertise, but maybe this question on Stackoverflow is relevant (first page suggested by a simple Google search):

[url]javascript - Convert 2:1 equirectangular panorama to cube map - Stack Overflow