Is there any way to convert blocks image to XML. or any method to download blocks as XML
AI2 block images do contain text if they are draggable. I have seen that using Notepad++ on the png files
Start small.
@>-->---
Now try it on a single event block 's png file.
Screen png files and Paint victims will fail.
Love the music.
1 Like
Method:
Encode image to base64 string
Place the string inside this:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<image mime = "image/png">
base64String here
</image>
</root>
Save file as yourimage.xml
Note above assumes a png file, adjust mime type accordinly for other image file types
I tested decode the base64 back to a block image, it remained draggable.
I forgot to mention that you can get block text directly from the unzipped .aia source files.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.