Hi
Novice question: I have set the background on page properties to the colour I want; I save the file as a .svg file but when I go to preview it, it appears with a black and white checked background. What am I doing wrong? This should be a simple task.
Regards
Bill
Background
- hellocatfood
- Posts: 193
- Joined: Fri Aug 29, 2008 8:49 pm
- Contact:
Re: Background
When you set the background colour did you also change the alpha value?
- hellocatfood
- Posts: 193
- Joined: Fri Aug 29, 2008 8:49 pm
- Contact:
Re: Background
I mean this part

So, you'd put the A (alpha) up to 255 so that the hex code reads ffffffff.
Also, what svg/image viewer are you using? I'm on Ubuntu using Eye of Gnome to preview my SVG and it doesn't render the background colour. I get the same checkered background, which means it's (wrongly) saying that it has a transparent background. Even previewing it in Firefox the background doesn't render.
Edit
I did a bit of a research and it appears that this problem has been reported before. Read here: https://bugs.launchpad.net/inkscape/+bug/166396
So, it looks like the background feature is actually only supported in Inkscape and for exporting to png and that they were thinking of removing it anyway as can be misleading (which has happened here). Solution: create a shape the that's the size of the page and give it the colour that you want. Also, add your thoughts to that bug so that they can hopefully sort this small bug out.

So, you'd put the A (alpha) up to 255 so that the hex code reads ffffffff.
Also, what svg/image viewer are you using? I'm on Ubuntu using Eye of Gnome to preview my SVG and it doesn't render the background colour. I get the same checkered background, which means it's (wrongly) saying that it has a transparent background. Even previewing it in Firefox the background doesn't render.
Edit
I did a bit of a research and it appears that this problem has been reported before. Read here: https://bugs.launchpad.net/inkscape/+bug/166396
So, it looks like the background feature is actually only supported in Inkscape and for exporting to png and that they were thinking of removing it anyway as can be misleading (which has happened here). Solution: create a shape the that's the size of the page and give it the colour that you want. Also, add your thoughts to that bug so that they can hopefully sort this small bug out.