Hi,

Quoting Leonardo Zide (2014-09-11 03:38:40)
> That's much better, the zipped file is down to 80 Kb. It may still be a
> little too big to include it as data (I think the limit is either 32 or
> 64Kb), I'll take another look and see if I can trim it down some more.

there might be some more opportunities to save space by moving some shapes like
boxes for example into their own file and then referencing them.

But ultimately, even if you manage to go below 64Kb now, this approach fails
once more parts are added in the future. So in the end you want a solution
which scales.

> There were still some .0s in there, but I removed them with sed.

I would've liked to say that removing repeated patterns will not make any
difference for the size of the compressed data since the compression algorithm
will take care of de-duplication. Unfortunately, zip compression compresses so
badly, that removing the .0s indeed shrinks the file from 79K to 76K...

Modern compression algorithms like xz don't have this problem. Whether or not
the .0s are there, the result will be 22K (only a few hundred byte difference).

cheers, josch
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to