It would be nice if the Panorama constructor provided parameters to specify the cropped area.
When the image does not cover the full 360/180, some apps just render a black background, some apps do something fancier (for example Google Photos interpolates the pixels from the edge of the image to fill the background). Personally I would be happy with a plain black background, but it can be something fun to explore.
This package is great, but panorama images that do not cover the full 360/180 are stretched.
This happens when the panorama is cropped, for example with the
CroppedAreaLeftPixels
andCroppedAreaTopPixels
from the Google panorama spec: https://developers.google.com/streetview/spherical-metadataIt would be nice if the Panorama constructor provided parameters to specify the cropped area.
When the image does not cover the full 360/180, some apps just render a black background, some apps do something fancier (for example Google Photos interpolates the pixels from the edge of the image to fill the background). Personally I would be happy with a plain black background, but it can be something fun to explore.