Skip to content

How to create an SVG for Inkcut

There are many ways images are saved to a file. Inkcut can only load SVGs.

What is an SVG?

A type of image that consists out of lines, e.g. 'A line from (0,0) to (10,20)', instead out of pixels. Due to this, you can zoom in indefinitly on such an image and the lines will always be sharp.

SVG is an abbreviation of 'Scalable Vector Graphics':

  • 'Scalable': one can zoom in/out infinitely
  • 'Vector': more-or-less a line
  • 'Graphics': it is something graphical
How does that look like?

Here we Inkcut displaying on the SVGs in folder:

Inkcut can only load SVGs

One cannot simply upload a 'regular' image (such as PNG or JPG) to Inkcut: these must be converted to an SVG first.

What is an PNG?

A type of image that consists out of pixel values, e.g. '10 red pixels, then 5 white' pixels. Due to this, when you zoom in on such an image, you can see the pixels being square.

What is a JPG?

A type of image that consists out of wavelengths; this is hard to describe simply. When you zoom in on such an image, you can see the pixels being square.

Converting a 'regular' image (such as PNG or JPG) to SVG

One program that can do this is Inkscape.

This is how Inkscape looks like:

Inkscape

To import a 'regular' image (such as PNG or JPG), click 'File | Import'

Where is that?

You can find it here:

In Inkscape, click File and Import

Select a file to import.

How does that look like?

Here is an example:

Import the Lördagskurserna logo as a PNG in Inkscape

In the import settings, click OK

How does that look like?

This is how that look likes:

Inkscape import settings

You have now imported the 'regular' image in Inkscape.

How does that look like?

This is how that look likes:

Imported a PNG in Inkscape

Now you can save the image as an SVG. Do so, by clicking 'File | Save as'.

Where is that?

You can find it here:

Click on File and Save as

Give your SVG a name and save it.

How does that look like?

This is how that look likes:

Saving your

What you don't know yet: this SVG cannot be loaded in Inkcut.

How does that look like in Inkcut?

Here is how this would look like in Inkcut:

Inkcut loaded the bad PNG

As you can see: only white

Fixing an SVG

In Inkscape, click 'Path | Trace Bitmap'.

Where is that?

You can find it here:

Click on Path and Trace Bitmap

Click on 'Apply'.

Where is that?

You can find it here:

Click on Apply

The image looks the same, but is not.

How does it look like?

It looks like this:

Applied the trace

However, you can save the image as SVG and load it into Inkcut successfully!

How does it look like in Inkcut?

It looks like this:

Inkcut has loaded a traced PNG

Videos