beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Base64ToTexture
Ops.Gl.Textures.Base64ToTexture
Related ops:TextureToBase64  
Namespace: Ops.Gl.Textures
Converts a base-64 image string into a texture

summary (oneliner)

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.

Also note that there is an OP doing the opposite called TextureToBase64.

doc

issues

youtube id

collections

related ops

Inputs

Base64 / Data URI (String)

Place either a Base64 string directly or as a Data URI to be converted


filter index (integer /Number)

wrap index (integer /Number)

Outputs

Texture (Object)

Texture conversion of the input string


Loading (boolean Number)

Indicates whether it is still busy with converting the string


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
working with base64 images:


Credits


Examples using Base64ToTexture

Public Patches using Base64ToTexture