title: Libgdx get Texture from Image or Drawable
body: <p>I would like to get the Texture data out of an image, so it may be rendered directly, but I see no straightforward way of making it, google searches show the other way around only. </p>
  
  <p>I am able to get the Drawable, but the interface doesn't specify the exact texture data, so there's no way that I see to convert an Image actor into a Texture. </p>
  
  <p>What I am trying to achieve is to have brushes, where the data of the brushes are stored in the image of an <code>ImageButton</code>. So upon clicking on an <code>ImageButton</code> The user would be able to draw on the screen based on the image stored in the buttons.</p>
  
  <p>How might I be able to do that?</p>