<aside> 📢 Have you ever struggled getting your figures to the right size to fit in a paper, grant, or poster?
</aside>
With Inkscape this can be far less of a concern. While assembling the figure, we can set the size to the maximum size of the total figure that we want. That way, if we go beyond the bounds of the Inkscape document, we know the figure is too big.
To resize the document size in Inkscape, we can select File, then then Document Properties. This should make the following pop-up appear.
While there is lots of useful information here, we will focus on the Custom Size panel. We can then change the document size.
We can also change the Background to clear or a certain color such as white (or any other color).
Finally, there are other taps with setting you can change to your liking.
Once you are happy with your choices, just exit out of the pop-out and the changes will automatically apply.
There are two main options for exporting your figure once you are done. This includes Saving a Copy and Exporting PNG Image. Which one you choose will be dependent on how high quality it needs to be, the file size, and if it is bitmap or vector based. As we explained in Module 1.2, there are pluses and minus to each choice and may be dependent on the medium the figure is used in.
Bitmap | One layer | Lower resolution, smaller file size | .png, .tiff, .jpeg |
---|---|---|---|
Vector Based | Many layers preserved | Higher resolution, larger file size | .pdf, .svg, .eps |
If we want to export our figure into a bitmap, our only option in Inkscape is PNG but there are many tools to convert PNG images into other file formats such as JPEG and TIFF if needed.
To export out image, we can select the area to export:
Then we need to set the dpi (or dots per image). This is the number of pixels within the image.
Too low and the image will be pixelated.
Too high and the file size will be large and impractical to export.
Therefore, for most cases between 500 and 1500 dpi is sufficient for a high quality PNG image.
If we want to export our figure into a vector based graphic, we have several options including EPS and PDF. Just select where you want to save the file and the file type. Generally, I keep the default save options with a few exceptions.
<aside> 📢 If you are looking to embed a link, use PDF version 1.4.
</aside>
The file size will be larger but the image quality will be higher and can be re-imported into Inkscape.
Many export options when saving a copy.
<aside> 📢 This means (like BioRender) we can create our own library of icons to reuse over and over again with ease.
</aside>
Install Inkscape and Get Started!