Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Spyrex |
Hello guys,
with this code, I am trying to get an image asset converted to a string. But the output of the following code is empty.
var img = Marshalls.variant_to_base64(load("res://assets/image.jpg"), true)
img = Marshalls.base64_to_utf8(img)
print(img)
Any idea?