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

Invalid Panodata - equirectangular Tiles #1520

Closed
haldo98 opened this issue Dec 26, 2024 · 4 comments
Closed

Invalid Panodata - equirectangular Tiles #1520

haldo98 opened this issue Dec 26, 2024 · 4 comments
Labels

Comments

@haldo98
Copy link

haldo98 commented Dec 26, 2024

Describe the bug

Since 5.11 (with 5.10.1 the warning is not present) when loading an equirectangular tiles pano there's this warning:

PhotoSphereViewer: Invalid panoData, croppedWidth/croppedHeight is not coherent with the loaded image. panoData: 18814x9407, image: 4000x2000

the rendering of the pano is perfect and the proportion of the image is actually 2:1

I have another equirectangular tiles pano with the dimension of the panodata 16000x8000 and baseUrl image 4000x2000 and the warning is not shown.`

Online demo URL

https://www.tadini.it/temp/comagna/ps_comagna.html

Photo Sphere Viewer version

5.11.4

Plugins loaded

No response

OS & browser

win 11 - chrome 131

Additional context

No response

@haldo98 haldo98 added the bug label Dec 26, 2024
@mistic100
Copy link
Owner

mistic100 commented Dec 31, 2024

This is because your base image https://www.tadini.it/temp/comagna/PS_Comagna.jpg still has embedded XMP metadata with the original dimensions.

Either remove or update the XMP data when resizing the base image to hide the warning.

@mistic100
Copy link
Owner

Can I ask what gear/software you use the capture your panoramas ? They always are really nice !

Do you have a gallery somewhere ?

@haldo98
Copy link
Author

haldo98 commented Jan 1, 2025

This is because your base image https://www.tadini.it/temp/comagna/PS_Comagna.jpg still has embedded XMP metadata with the original dimensions.

Either remove or update the XMP data when resizing the base image to hide the warning.

Removed the XMP data and the warning is no longer there.
Thank You.

@haldo98
Copy link
Author

haldo98 commented Jan 1, 2025

Can I ask what gear/software you use the capture your panoramas ? They always are really nice !

Do you have a gallery somewhere ?

Well, I changed my equipment over time. When I was younger and stronger :-) I always carried my reflex. But hiking with that weight was tough.

Nowadays smartphones are very good for the simple task of taking photos without zoom. I always use a smartphone with a very good sensor (about 50 megapixels and I think that Sony sensor are very good for landscape pictures) and I use the Google Pixel camera app. There are porting for almost any smartphone.
That app allows you to take photos in RAW with the highest quality. Each photo is 25-40 MB each.
For the panorama I take 15-16 photos in portrait mode with the main sensor (without wide angle).

For two years I have also been using a drone to take spherical photos. The drone I use when hiking in the mountains is a DJI Mini 2 with a 4k camera.
It's lightweight and very manoeuvrable and reliable.

There's an automatic procedure for spherical photos that also shoots in RAW, but sometimes I prefer to shoot in manual with 3 pics in bracketing, if the wind is not so strong. This way I also have HDR Panoramas.

Once I have all the RAW files (drone ones or not) I stitch them in an equirectangular panorama with the PTGUI software.

The drone does not capture the zenithal part so I have to create it via software vith Affinity Studio.

I save the panoramas in 16bit TIFF files for the maximum quality and then vith Adobe Lightroom I make some small corrections and color adjustments before creating the jpg file to use with PSV.

I have an HTML-only webpage just for fun: https://www.tadini.it/panorama

And Thanks to you for your work with PSV

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

2 participants