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

Handling RGBA images in 360 #7

Open
andrewsongj opened this issue Jul 20, 2023 · 3 comments
Open

Handling RGBA images in 360 #7

andrewsongj opened this issue Jul 20, 2023 · 3 comments

Comments

@andrewsongj
Copy link

Hi,

I am using the plugin and I noticed that the 360 view for an RGBA image is black and white and distorted for some images
For example
MicrosoftTeams-image
I was able to get them to view properly by checking the image.mode property for the image object opened by PIL to check for RGB or RGBA, and accordingly, using GL_RGB or GL_RGBA as the argument to the glTexImage2D method, but thought you might want to take a look

@cazitouni
Copy link
Owner

Hello @andrewsongj,

Thanks for the feedback I didn't notice because all the datasets I've used are in RGB.
If you already have the solution do not hesitate to sumbit a PR.

Every contribution are welcomed.

In the meantime I reopen the issue.

Thanks,
Regards, Clément.

@cazitouni cazitouni reopened this Jul 21, 2023
@ar-siddiqui
Copy link

@cazitouni Andrew's teammate here.

We have a solution, we will post a link once we open-source our work. Thanks.

@cazitouni
Copy link
Owner

Hello @ar-siddiqui,

I'm glad you found a soplution, do not hesitate to inform me or make a PR When you're ready !

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

No branches or pull requests

3 participants