I have this image file, which has a very slight transparency.
You can see the top surface has some transparency. Eventually, I'll need to save this as an EPS file, which means I need to flatten the transparency. I'd be super grateful if someone could have a look at my SVG file, if they knew a quick way of having the same image, but with no need for transparency.
How to remove transparency
-
- Posts: 9
- Joined: Thu Jun 05, 2008 6:31 am
How to remove transparency
- Attachments
-
- test.svg
- The SVG file
- (47.75 KiB) Downloaded 358 times
Last edited by Theo Moore on Fri Mar 16, 2012 4:42 am, edited 2 times in total.
Re: How to remove transparency
Someone else may have other ideas. But here's what I'm thinking. When I select the object which currently is partially transparent, I see that it has nodes already at the proper places to do this. I would use node editing to break that single object into 3 distinct objects -- the top half which will have a white fill; the small triangle at the bottom left corner will also have a white fill; and the remaining object of the 3 will have a solid fill. You can use the Dropper tool (in Pick mode) to give it the proper color. First select that object, then place the Dropper tool over it and click once. It might appear not to have the proper color, at first. But you will probably see that In the Fill and Stroke dialog, that it still has an Opacity value less than 100. Once you slide it to 100%, it should have the proper color.
Let me know if you need instructions for the node editing
Let me know if you need instructions for the node editing

Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 9
- Joined: Thu Jun 05, 2008 6:31 am
Re: How to remove transparency
brynn wrote:Let me know if you need instructions for the node editing
Brynn, you caught me!

As you noticed, I already tried to place nodes at the right places in the SVG file to implement the idea you suggested. However, I couldn't figure out how to do the node editing so as to break up the closed path into three different closed paths with two different colors.
Can you provide those instructions for the node editing?
Re: How to remove transparency
Not a problem at all!
It's hard to know what someone else knows about Inkscape by looking at an image.
You've already placed the nodes, so the next step will be #1:
1 - Select all those nodes (using Shift) (total of 4 nodes), but don't select the ones in the corners
2 - In Node tool control bar, click "Break path at selected nodes" button (4th from left)
3 - Path menu > Break apart
4 - Deselect everything
5 - Select one of the 3 new pieces
6 - Select 2 end nodes (these will be where you broke the path in step 2)
7 - In Node tool control bar, click "Join selected end nodes with a new segment"
8 - Do step 5 through 7 for all 3 pieces.
9 - Give them each the proper color, using the info in my original reply.
10 - You will probably notice that these new pieces are lying on top of some of the other elements in the image. Now you need the Selection tool. Select them one at a time, then use either Object menu > Raise, Lower, etc. or buttons on the Selection tool control bar to move them below, as appropriate.
Let us know how it goes
It's hard to know what someone else knows about Inkscape by looking at an image.
You've already placed the nodes, so the next step will be #1:
1 - Select all those nodes (using Shift) (total of 4 nodes), but don't select the ones in the corners
2 - In Node tool control bar, click "Break path at selected nodes" button (4th from left)
3 - Path menu > Break apart
4 - Deselect everything
5 - Select one of the 3 new pieces
6 - Select 2 end nodes (these will be where you broke the path in step 2)
7 - In Node tool control bar, click "Join selected end nodes with a new segment"
8 - Do step 5 through 7 for all 3 pieces.
9 - Give them each the proper color, using the info in my original reply.
10 - You will probably notice that these new pieces are lying on top of some of the other elements in the image. Now you need the Selection tool. Select them one at a time, then use either Object menu > Raise, Lower, etc. or buttons on the Selection tool control bar to move them below, as appropriate.
Let us know how it goes

Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 9
- Joined: Thu Jun 05, 2008 6:31 am
Re: How to remove transparency
Dear brynn,
This is coming two weeks late, but I finally had time to address the transparency issue. Thanks for your step-by-step guide---I'll no doubt return to the guide when I have to do it again!
Also: An automated transparency-removal tool (or flattening tool) would be incredibly helpful in Inkscape.
This is coming two weeks late, but I finally had time to address the transparency issue. Thanks for your step-by-step guide---I'll no doubt return to the guide when I have to do it again!
Also: An automated transparency-removal tool (or flattening tool) would be incredibly helpful in Inkscape.
Re: How to remove transparency


Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: How to remove transparency
Hello, I would suggess editing it in some Editor. It is simple xml file. You just need to change to using the tool Search and replace
I know this is old, but it is hint for those who come from Google as I did
Code: Select all
fill-opacity="something"
Code: Select all
fill-opacity="1.00"
I know this is old, but it is hint for those who come from Google as I did
Re: How to remove transparency
I would suggest right clicking on item and using "select all items with same fill and border"
Always you can open .svg file in a text editor (or coding IDE), where you can use search and replace.
Always you can open .svg file in a text editor (or coding IDE), where you can use search and replace.