Base64ToTexture Op

Base64ToTexture

Converts a base-64 image string into a texture


<p>This can be handy if you are receiving an image over an AJAXRequest and want to convert it into a texture. Keep in mind that this is a very slow operation, so be careful with performance.</p> <p>Also note that there is an OP doing the opposite called TextureToBase64.</p>


Full Name
  • Ops.Gl.Textures.Base64ToTexture
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Base64 / Data URI (String)

<p>Place either a Base64 string directly or as a Data URI to be converted</p>

filter index (Number:

<i>integer</i>

)

wrap index (Number:

<i>integer</i>

)

Anisotropic index (Number:

<i>integer</i>

)

Pre Multiplied Alpha (Number:

<i>boolean</i>

)

OUTPUT PORTS


Texture (Object)

<p>Texture conversion of the input string</p>

Loading (

<i>boolean</i>

Number)

<p>Indicates whether it is still busy with converting the string</p>


Patches using Base64ToTexture

  • Examples
  • Public
  • My Patches

Changelog


featureadded parameters for anisotropic and alpha premultiplyuser avatarpandur - 2024-01-11 13:57