How Kodular Stores Information In Block Images

When the block is downloaded as PNG image from block editor, It stores some information to decode when it is dragged to block editor back.
My question is how it stores information in PNG image?
Can I extract that information (probably XML file) from PNG image by using any tool?

3 Likes

An xml file is added to image

3 Likes

http://ai2-test.appinventor.mit.edu/reference/other/download-pngs.html
This page says

Blocks images created in this way contain additional metadata in the image that stores the block code in a machine readable format.

How can I extract that XML file from image
@dora_paz
Can you suggest me a tool for that
I searched for online metadata extractors but it did not help

Haven’t search it but what are you trying to achieve by that ?

The guide lists some programs you can use to extract the XML. If you’re on Windows, notepad should work fine

Should I convert .png to .txt?

Keep the discussion here instead of going to another topic. Why not try if it works.

2 Likes

I didn’t understand what @Vishwas said
there is no list of programs where i can extract XML file from PNG file
there is a list of image/other Sharing Platforms

Right click your png > open with > Notepad
or
Change .png to .txt and open

2 Likes

Thanks it worked
I can find <xml…/xml> in .txt file

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.