Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

How can you convert a top to a base64 stream?

General discussion about anything TouchDesigner

How can you convert a top to a base64 stream?

Postby danoved » Fri Feb 22, 2019 10:23 pm

I want to convert a top to a base64 string and stream it over a socket. How can this be done?
danoved
 
Posts: 18
Joined: Tue May 01, 2018 11:04 pm

Re: How can you convert a top to a base64 stream?

Postby kellyvigil » Wed Aug 21, 2019 2:48 pm

+1

I have been trying to get the base64 library to work. I can import base64 in the textport, but any time I try to use it in a dat I get this error:

td.Error: Module compilation error. Component may be cooking disabled. See operator for details
kellyvigil
 
Posts: 3
Joined: Thu May 21, 2015 2:38 pm

Re: How can you convert a top to a base64 stream?

Postby malcolm » Wed Aug 21, 2019 9:31 pm

Can you share your file that is giving that error?
User avatar
malcolm
Staff
 
Posts: 4423
Joined: Tue Nov 13, 2007 1:11 am

Re: How can you convert a top to a base64 stream?

Postby pointshader » Sat Aug 31, 2019 6:46 pm

danoved - there's built in functions to convert a top to a numpy array - perhaps you can find a numpy -> base64 conversion method? Numpy arrays are fast and flexible, it shouldn't be too hard...
Jonathan Thompson
@pointshader
http://pointshader.com
User avatar
pointshader
 
Posts: 178
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 9 guests