[Kde-games-devel] Anyone can help with manipulating an SVG file?

Alexander Schuch aschuch247 at gmail.com
Sun Jan 12 18:10:38 UTC 2014


On 5 January 2014 21:43, Ian Wadham <iandw.au at gmail.com> wrote:
> On 06/01/2014, at 3:07 AM, Alexander Schuch wrote:
>> Can you please email me your fixed version?
>>
>> I don't think you need to worry about the size - the file simply is
>> not compressed right now. The svgz file in git is about 254 bytes
>> larger(!) than the uncompressed svg file.
>
> Here it is.
>
> I did a check on the old file's compression.  I opened it in Inkscape,
> did a File->Vacuum Defs (a kind of "garbage collect") and saved as
> Inkscape Compressed SVG (*.svgz) and, lo and behold, its size
> shrank to just 20 bytes less than my new file, which I had already
> vacuumed.  So I am more confident about my changes now.

All graphics still seem to work - I could not see any differences. The
nice side-effect is that the file size shrank from 1274 kB to 80 kB.

I comitted to master:
http://commits.kde.org/konquest/9cc27c23a9600067c7e2b198e085722262f694d2

Regards,
Alexander


More information about the kde-games-devel mailing list