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

open_image for panorama images on Safari throws InvalidStateError #130

Open
thobhanifreddy opened this issue Jun 13, 2022 · 0 comments
Open

Comments

@thobhanifreddy
Copy link

I am using photon-web in my react project. It works really fine except for panorama image on Safari. It works fine on Chrome.

My code looks something like this

const canvas = document.createElement('canvas')
        
canvas.height = imageData.height
canvas.width = imageData.width
const ctx = canvas.getContext('2d')

let src_photon_img = open_image(canvas, ctx)

Screenshot 2022-06-13 at 13 08 24

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

1 participant