Daniels118
Advanced Member
Italy
Joined: Nov 17, 2021
Post Count: 467
Status:
Offline
|
|
Re: Floor have huge size in svg (tens of Mb)
|
Hi Stephen, I've released version 1.1 which is definitely faster, it can export your test file in about 1 second with 1.3 MB of size.
The problem was not the compression algorithm, it was the way the PNG encoder from FreeHEP reads the pixels from the source image (a very inefficient way), so I have replaced the critical code with a most efficient one.
I've aso changed the default compression level from 9 to 5, although it doesn't much difference.
In regards to the repeating pattern you're right, unfortunately fixing it would require a huge work and I don't think is worth the effort.
|
[Feb 14, 2022, 10:05:21 PM]
|
|
[Link]
|
|