I have a bunch of SVG files that are supposed to have transparency but, when I open them in Inkscape they have a black background. I selected "Checkerboard Background" from the "Document Properties" menu but, the background is still black. I noticed that I can remove the black background layer and delete it and the file works as it is intended to work. The thing is that I have 100 of those SVG files and it'll take me a few hours to do that to every file. I was hoping that there's a way to make black transparent because it'll be less work. Can somebody help me with that? Thanks in advance!
I'm using Windows 10 Home and Inkscape 1.1.
I have a bunch of SVG files that are supposed to have transparency but, when I open them in Inkscape they have a black background. I selected "Checkerboard Background" from the "Document Properties" menu but, the background is still black. I noticed that I can remove the black background layer and delete it and the file works as it is intended to work. The thing is that I have 100 of those SVG files and it'll take me a few hours to do that to every file. I was hoping that there's a way to make black transparent because it'll be less work. Can somebody help me with that? Thanks in advance!
Would have to see an example svg.
Are you able to post 1 or 2 ?
I'm new to the forum and Inkscape. How can I post the files?
Here are some SVGs. Thanks!
What OS are you using ?
I'm using Windows 10 Home Edition.
It looks like there is a large black rectangle behind each image.
Removing the rectangle makes the image look totally different.
Is that what you want to do ?
Also, are you happy to use the Windows command line / powershell command line ?
If there's no more choice, I would like to remove the black rectangle. Why do you ask about the Windows command line / PowerShell command line?
The images rely on the black background - deleting destroy it imho.
It's likely that the black rectangle may be the largest <rect> object in each of the 200 svg files.
It's also possible that any of the 200 files could contain other <rect> objects.
It does not have an id attribute ( it may have in other files ).
I think the easiest way would be to identify it by
1. It is a <rect>
2. It has a width * height ( area ) larger than any other <rect> in the file.
Then delete it across files.
SVG files don't have backgrounds (it's one of their limitations), all backgrounds you see are actually objects on the document.