Jump to content

Create an image from a texture


moleboy
 Share

Recommended Posts

Hi,

 

I have a DisplayObjectContainer that I can get a texture from using the generateTexture() function.  I need to be able to obtain an image from this.  Does anyone know how this can be done?  I read on a previous post that it was possible to paint this to a canvas and obtain the image from that but I am not sure on the code required to do this.  Any help would be much appreciated.

 

thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...