TextureToBase64_v5 Op
Converts a texture into a base-64 image string
Summary (oneliner)
<p>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.</p> <p>Also note that there is an OP doing the opposite called Base64ToTexture.</p>
- 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
No op example found on this server
INPUT PORTS
Trigger to do the conversion, put this behind a TriggerLimiter or TriggerOnce
Input texture to be converted
<i>integer</i>
) PNG JPEG WEBP<i>boolean</i>
)Choose whether to export a string that is only a Base64, or already as a DataUrl
OUTPUT PORTS
<p>The string conversion of the texture</p>
<i>boolean</i>
Number)<p>Gives you the status of the conversion and whether it has finished</p>