July 10, 2023

Some notes on Inkscape

I was sending a map (as a JPG file) to some friends and wanted a quick way to make some markings with the mouse on the image. I have always been annoyed that there isn't some quick and easy way to do this. I managed to get something done without massive suffering using Inkscape. However, it has a long way to go to be an intuitive and easy to use tool, as you will learn if you read this short "cheat-sheet".

Inkscape is a pretty fancy tool. It runs on Linux (as well as Windows and such). It is all about vector graphics, which at this point is neither here nor there to me, as long as it allows me to draw with my mouse.

It is already installed on my Fedora linux system and is available as a regular package. I just type at the command line:

inkscape hubbard.jpg

Saving to JPEG

I put this first, because it caused me some embarassment. I just used "Save as" and it named the file "hubbard2.jpg" just fine, but the actual file was SVG and my friends could not open it.

You want to use "File -- Export". When you do this, the entire right side of the GUI turns into an export dialog. At the very bottom is an EXPORT button you can use when you get all the settings the way you like them. By default it will export as PNG, so you should take care to select JPEG before clicking the EXPORT button. I noticed that the PNG file it saves is about 10 times bigger than the JPEG file.

Using Inkscape

Piles of books have been written about using Inkscape. No doubt there are multitudes of online tutorials, both good and bad. Here is how I managed some quick things by just fooling around.

To select color, I just clicked on the rainbow of options across the bottom of my screen. You do this immediately after drawing something, and the selection will "stick" until you change it after some other object.

To tell Inkscape what I want the mouse to do, I click on a selection from the column on the left. Among many other things, I can create circles, rectangles, and freehand lines.

Text

When you select an option on the left side, the second line in the GUI, below the main menu line, changes to give you options appropriate to whatever you selected. For text, this is where you select the font and size. Whenever you click to start a new text, it resets to the default 30 point size, which is stupid and annoying. The only font it seems to know is sans-serif.

Freehand drawing

Boxes and circles are easy, but the freehand drawing tool gives me a fight. It wants to "fill", which is the last thing I want. To set the stroke width, you use Object -- Fill and Stoke", select Stroke style and then adjust the width -- after you draw a path. For whatever reason, the width setting does not stick. And when I select a color at the bottom, it fills with that color, but does not change the path color. This freehand drawing tool seems like the orphan child of Inkscape. Not intuitive, and one tutorial has already cautioned me to avoid it.

To get rid of this fill thing, you get the Fill and Stroke menu, select the "Fill" tab and then select the "x" to say "no paint" (you think this will close a window, but it is actually an entry in the menu). None of this works. I get a black line no matter what color I select, and it does not remember my stroke width.

Reading some more, I learn that Inkscape has limitations drawing on top of a raster object like a JPEG file. This all may work differently if I work on a blank canvas.

The Calligraphy drawing tool seems to be better on top of a JPG, but you need to change to a marker instead of a dip pen and reduce the width. Larger widths give you a two line train track effect. Also to change color, you must use the color spectrum at the bottom of Inkscape, ignore the color wheel thing inside of Fill and Stroke.

Conclusion

Inkscape may offer power, but it is not well designed or intuitive.
It is better than GIMP, which is unimaginably bad, but that is hardly a compliment.
Feedback? Questions? Drop me a line!

Tom's Digital Photography Info / tom@mmto.org