how to lower file size

Asked by Bas Cornelisse on 2017-11-30

My logo needs to be 15kb max. but it's larger everytime. how do i lower the file size?

Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:
Hachmann (marenhachmann) said : #1

File -> Clean up document
Save as 'optimized SVG'
remove unnecessary nodes, objects, filters, ...
combine or union objects of same style
use clones, if you have multiple copies of one object (more than, say, 5)

(this is if you want to reduce the file size of the SVG)

If you want to reduce the png file size, you can use
- pngquant
- optipng
- or perhaps convert to jpg

Bas Cornelisse (sparx87) said : #2

Yeah it's a png that I import. I've tried to clean the file but doesn't make any difference. It stays at 30kb. And if I change it to jpg, won't it become a square picture? I want to keep the transparent parts.

TylerDurden (8thrule) said : #3

I'd try to recreate the artwork in vectors, and delete the bitmap from the file.


Hachmann (marenhachmann) said : #4

Or use a bitmap editor, e.g. GIMP, then pngquant or optipng.

Hachmann (marenhachmann) said : #5

(The size cannot change, because the data in an imported png will stay the same in Inkscape. Inkscape is not the correct tool to edit png images, while Gimp is.)

Bas Cornelisse (sparx87) said : #6

Okay thank you I will try Gimp.

Can you help with this problem?

Provide an answer of your own, or ask Bas Cornelisse for more information if necessary.

To post a message you must log in.