How can I set the appearance of the background area in Inkscape so that I can tell the difference between an image with a white background and an image with a transparent background?
Many other image view/editing programs have a checkered background for exactly this reason, but I couldn't find anything like that for Inkscape.
Beginners are sometimes surprised that their exported image has a transparent background. To change this, open File ‣ Document Properties ( Shift + Ctrl + D ), then for a white background, set the alpha channel of the background color to 255 after a click on the Background Color field.
To change the default background color in Inkscape, open up the Document Properties menu by pressing Control + Shift + D, then click on “Background color” and set it to any color you'd like using the menu interface.
If you'd like to make your SVG background transparent in the sense that it displays a grayscale checkerboard pattern (like GIMP and other applications do) instead of white, you can do so by navigating to File > Document Properties and ticking the box that read Checkerboard Background.
In InkScape 0.48:
File > Document Properties > Page > General > Background
Move R, G, and B to 0. Adjust A (Alpha) to your preference (experiment to set to your liking).
Note that this approach will set the color you choose as the background for the saved/exported image.
In InkScape 0.92:
File > Document Properties > Page > General > Background > Checkerboard background
Since version 0.92 (January 2017) you can instead choose a checkered background. This won't effect the background of the saved image, but will override the background shown in InkScape.
A slight refinement to Carl's answer:
Create a background layer. In it draw a large rectangle of your desired background colour.
Lock the layer to avoid selecting the background rectangle object.
I've written a feature request for this on the Inkscape bug tracker. This is currently not possible, we'll see if it gets implemented in the future.
see https://bugs.launchpad.net/inkscape/+bug/1100755
EDIT Jul 2016: The feature has been added and should be included in the upcoming 0.92 release.
I use a big square, rectangle, oval, etc (whatever covers and hides the image completely), set the color to something ugly that obviously isn't part of the image design, then lower the shape to the bottom of the drawing so every other object is above it. Anything that is transparent will show the ugly color. When I am done editing, I delete the ugly-color shape that I created. Granted, it's a work-around, but it's relatively painless and easy to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With