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

Work around CORS to fetch, process and display any image from the internet #6

Open
AmadeusW opened this issue Oct 4, 2017 · 0 comments

Comments

@AmadeusW
Copy link
Owner

AmadeusW commented Oct 4, 2017

If we could go around CORS, then we can process any crossview image at runtime and display it in VR.
Currently, scraped images are downloaded, cropped and uploaded to CDN that sets appropriate CORS headers.

The following scenario doesn't work:

  1. Load image onto canvas; HTML5 is fine
  2. Copy pixels onto new canvas; CORS data is also copied
  3. Crop and resize; optionally
  4. Display in VR; CORS data from point 2 prevents WebVR from displaying it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant