Snap compression

I have converted a 240MB Scratch project to XML by using snapinator. The resulting XML project is 470MB. Then I loaded and exported it in Snap, and it has become a 125MB project. I'm curious about the kind of compression that Snap applies when saving a project. Would someone give me a few hints?

<a>
this is useless










</a>

becomes

<a>this is useless</a>

That would be an explanation, of course :slight_smile:
But is it what you see in projects produced by snapinator? I opened a huge xml project produced by snapinator, and I didn't find any blank lines.

Snap isn't using the most aggressive compression for images, we're compressing everything to PNG, because it's "lossless".

Thanks Jens

Untidy:

<a>
    <b>
        kkk
    </b>
</a>

Tidy:
<a><b>kkk</b></a>