Base64ToTexture Op
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.
- Ops.Gl.Textures.Base64ToTexture
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch working with base64 images
INPUT PORTS
Place either a Base64 string directly or as a Data URI to be converted
OUTPUT PORTS
Texture conversion of the input string
Indicates whether it is still busy with converting the string