Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

WebGL Copying an Image to Clipboard

Discussion in 'WebGL' started by bobacupcake, Dec 23, 2018.

  1. bobacupcake

    bobacupcake

    Joined:
    May 11, 2017
    Posts:
    3
    Hello!! Been fiddling around with copying and pasting with webgl, and am currently in need of taking a texture from unity, and copying it to the clipboard.

    I am pretty sure this is impossible, directly, after searching around quite a bit. If I'm wrong about that please let me know, but in the meantime, I am trying to figure out if there's a way to display the image in say, a javascript popup, which I can then right click on and copy it from there. I'm currently doing a similar trick to let me paste in text, but am unfamiliar with javascript and unsure how to do it with an image.

    Thank you!!
     
    dysfunctional_popo likes this.
  2. EvanCheddar

    EvanCheddar

    Joined:
    May 27, 2017
    Posts:
    3
    Hello, I'm also trying to do this. Have you found anything?