TextureToBase64_v5 Op
Converts a texture into a base-64 image string
Summary (oneliner)
This can be handy if you want to send a texture as an image over an AJAXRequest. 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 Base64ToTexture.
- Ops.Gl.Textures.TextureToBase64_v5
- 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
Trigger to do the conversion, put this behind a TriggerLimiter or TriggerOnce
Input texture to be converted
Choose whether to export a string that is only a Base64, or already as a DataUrl
OUTPUT PORTS
The string conversion of the texture
Gives you the status of the conversion and whether it has finished