Can Inkscape make transparent backgrounds?

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed below into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek: :tool_selector: :tool_node: :tool_tweak: :tool_zoom: :tool_rectangle: :tool_3dbox: :tool_ellipse: :tool_star: :tool_spiral: :tool_pencil: :tool_pen: :tool_calligraphic: :tool_paintbucket: :tool_text: :tool_connector: :tool_gradient: :tool_dropper:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Can Inkscape make transparent backgrounds?

Re: Can Inkscape make transparent backgrounds?

Post by floosack » Sat Apr 24, 2010 12:55 am

llogg wrote:
SureWhyNot wrote:Dude, just select the picture, go to fill and stroke, and change it's opacity. :|

that's incorrect. He doesn't want to change the opacity of the entire picture, just the background of the picture. Use the Bezier tool :tool_pen: to trace around the parts of the image you want to see. Then select the tracing and the jpg and do object->clip->set. All the untraced elements disappear and the background is transparent.


Just so you know, that's exactly what I was just looking for - so thanks!

Re: Can Inkscape make transparent backgrounds?

Post by brynn » Sun Nov 15, 2009 12:44 pm

No worries, firststepphoto. Just like the status area, there are many things about Inkscape that are not entirely obvious to new users. And especially more so for those like I was, who aren't familiar with graphics in general.

Yes, you can select paths with either the Node tool :tool_node: , or the selection tool :tool_selector: . In either case, you have to click on the path itself. It's very basic to vector graphics, which of course is very cifferent from raster graphics, and again, not readily obvious to the novice.

I can't remember through this long thread, whether the many tutorials and help guides were ever mentioned. But once I discovered them, I really began to learn Inkscape quickly and much more easily. Check out the various items in the Help menu, as well as the Tricks and Tutorials forum here.

Anyway, I'm glad you got it figured out :D

Re: Can Inkscape make transparent backgrounds?

Post by firststepphoto » Sun Nov 15, 2009 12:02 am

OOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!
I feel like SUCH an idiot!!!!!!!!!!!!!!!!!!

I was assuming select was the arrow tool and I could just click on the area to select it. :oops: Thank you both so much!

Also, brynn~Thank you again, and for that tip! I can't believe I didn't notice that either! What a huge help!

Re: Can Inkscape make transparent backgrounds?

Post by brynn » Sat Nov 14, 2009 11:32 pm

Yes, I agree with llog.
It sounds like you may not be getting both the jpg and path selected. To select the path that you have made with the bezier tool, you have to click on the path itself, not inside of it. When you click inside of the path, you are probably selecting the jpeg....then when you go to select the jpg, it deselects it, and you're ending up with nothing selected, so when you do the clip, it doesn't work.

Or there might be something else going on. But in any case, if you do the Select All, as llog suggested, you will get both selected and the clip should work.

One helpful tip that for me as a new Inkscape user was not readily apparent. And it turns out to be extremely helpful to the learning process (for me anyway). At the bottom of the Inkscape window is a status area, and it has something to say about everything you're doing, as you do it.

So when you select the jpg, it should say something like:
"Image 400 x 500 C:\.....jpg in Layer whatever" where the n x n is the size of the jpg, and the .....is the location of the imported jpg.
Then when you click the path, it should say something like:
"Path (n nodes) in Layer whatever"
When they're both selected, it should say something like:
"2 objects of Types Image, Path in Layer whatever"
And after you're finished with the successful clip, and you select the clipped image, it should say:
"Image 400 x 500 C:\.....jpg in Layer whatever; clipped in Layer whatever"

And not only does it give the status of what's selected, it give options on what can be done with whatever tool you have chosen to use. Just select something in your image, and look at the status area as you choose different tools. Granted the info in the status area is extremely abbreviated, and typically there are many more detailed processes you could potentially use, besides what's in the statur area, But I find it's still quite helpful in keeping myself organized as I work.

Anyway, just a tip ;)

Re: Can Inkscape make transparent backgrounds?

Post by llogg » Sat Nov 14, 2009 8:28 pm

1. Import image.
2. Trace image as a single path using bezier tool.
3. Select all.
4. Object>clip>set
5. ????
6. Profit.

Re: Can Inkscape make transparent backgrounds?

Post by firststepphoto » Sat Nov 14, 2009 2:19 am

Okay...

So I imported the image.

I selected the bezier tool and used it to trace the part of the image I want to keep.
I select the arrow tool and click on the area. object-clip-set and nothing happens

Same as above but instead of using arrow, I just leave the selection as is, go object-clip-set and nothing happens.

From the instructions above from a previous person the background is just supposed to disappear when I do this? I don't get what I am doing wrong. Is there something else I can try?
Thanks so much for the help!

Re: Can Inkscape make transparent backgrounds?

Post by firststepphoto » Fri Nov 13, 2009 11:10 am

Thank you so much Brynn!!
I will give that a try!
So far I love using inkscape. I am finding it So much better than AI for what I am using it for!

Re: Can Inkscape make transparent backgrounds?

Post by brynn » Fri Nov 13, 2009 9:57 am

Welcome to the forum!

In Inkscape, the dotted lines are known as the "bounding box", which indicate simply which object has been selected, not the shape of the object (like in raster type graphics programs). So be assured that your shape has been selected when you see the rectangular dotted lines surrounding it.

Try File menu > Import, to import your jpeg, rather than simply opening it. There is some kind of bug affecting bitmap type images (jpg, png, bmp, etc.) edited in Inkscape. But it seems that Importing the image will allow it to be edited successfully.

Re: Can Inkscape make transparent backgrounds?

Post by firststepphoto » Fri Nov 13, 2009 7:11 am

Just registered. I was "newbie" who posted above. Just wanted to subscribe to this post!
Thanks so much!

Re: Can Inkscape make transparent backgrounds?

Post by newbie » Fri Nov 13, 2009 6:58 am

I can't get this to work.
I have my jpeg open. I used the bezier tool to trace around the part I want to keep. (A person)
Then I hit the select tool. When I use it over the image, it selects a rectangle area of where I used the bezier tool. Then I go to object-clip-set and it doesn't do anything.

I feel so silly that I can't fill this in. Can someone tell me what I am doing wrong?
Thanks so much! AMAZING program!!!

I want to remove the background though b/c I am making a silhouette of this image, but I don't want the background in the bitmap trace! Thanks!

Re: Can Inkscape make transparent backgrounds?

Post by Sventje » Tue Nov 03, 2009 7:52 pm

SureWhyNot wrote:Dude, just select the picture, go to fill and stroke, and change it's opacity. :|


Thanks :D

Re: Can Inkscape make transparent backgrounds?

Post by Slow Dog » Tue Mar 17, 2009 3:30 am

DEE wrote:The question remains however about Inkscapes support for transparent bitmaps? which transparent bitmap formats does it support?


The non-comprehensive answer is that Inkscape supports PNG, including transparency/alpha channel, so that's a sensible choice. Jpeg's and Bmp's don't support transparency at all.

I'd assume that Inkscape supports transparency in all formats that do.

Re: Can Inkscape make transparent backgrounds?

Post by DEE » Sun Mar 15, 2009 7:32 pm

The way I understand the original question was: Is there way of manipulating a bit map image to turn a selected colour transparent.
This is a common issue while blending vector and bitmap images and is supported in many compositing tools even powerpoint supports this.
Because this is really a bit map editing function you may want to use a dedicated bitmap editor like Gimp to do this (as suggested by prior post) this will give you more flexability.
The question remains however about Inkscapes support for transparent bitmaps? which transparent bitmap formats does it support? and which ones actually work well?

Re: Can Inkscape make transparent backgrounds?

Post by EarlyBlake » Sun Oct 19, 2008 8:02 am

If it was just the back ground I'd put the jpeg on a layer of it's own and change the transparency of the layer in the layer menu Shift Ctrl L. Then lock the layer to get it out of the way.

Re: Can Inkscape make transparent backgrounds?

Post by Grexe » Sun Oct 19, 2008 5:19 am

It would be highly preferable to simply select the image's background color (e.g. white) and let Inkscape transform it to make it transparent, similar to Gimp's Color-to-transparency feature... copy&paste to Gimp sadly did not work, and Gimp also makes the remaining colors slightly transparent...
Is such a feature available or planned?

Re: Can Inkscape make transparent backgrounds?

Post by Corwin » Wed Sep 24, 2008 8:43 am

I have examples where a transparent .png can have curves and text at angles
in a layer over Tex and MathML at
http://www.issi1.com/corwin/sniffers/sphere_1.xml and
http://www.issi1.com/corwin/sniffers/sphere.html .

I have exampels of how to combine Jipsen's Tex like notation,
MathML, curves and labels at any angle at
http://www.issi1.com/corwin/sniffers/combine.html ,
details are at combine.txt

Re: Can Inkscape make transparent backgrounds?

Post by Simarilius » Sun Jul 13, 2008 1:47 am

llogg, only difference was presentation. yours was in the middle of another statement, mine was done as 1.2.3.
I found a while back its always best to give instructions as a list of steps like that, as it makes it clearer, plus if they
get stuck they can say, I'm stuck on step X, what am i doing wrong?

Re: Can Inkscape make transparent backgrounds?

Post by llogg » Sun Jul 13, 2008 12:09 am

I wasn't offended. I just wanted to make sure I wasn't incorrect in my thinking.

Re: Can Inkscape make transparent backgrounds?

Post by MajMartin » Sat Jul 12, 2008 11:57 pm

Don't be offended. I'm a newbee to inkscape and it takes me a while to learn a new program. All of the above comments have helped me. It worked with both the "bezier tool" and "line tool." Thanks again to ALL who had an input. :P

Re: Can Inkscape make transparent backgrounds?

Post by llogg » Sat Jul 12, 2008 11:36 pm

Is there some difference between what simarilius said and what I said? For my future reference. Thanks.

Re: Can Inkscape make transparent backgrounds?

Post by MajMartin » Sat Jul 12, 2008 11:19 pm

GOOD JOB!!! That worked. I saved the final pic as a PNG file and now the background is transparent! Now I can finish my logo. THANKS :D

Re: Can Inkscape make transparent backgrounds?

Post by Simarilius » Sat Jul 12, 2008 2:09 pm

1. import the picture
2. Draw a shape with the line tool that covers the building you want to keep
3. select both and do object>clip>set

The bitmap should be clipped to the area contained by the shape, making the rest disappear.

If thats not what your after let us know :D

Re: Can Inkscape make transparent backgrounds?

Post by MajMartin » Sat Jul 12, 2008 12:44 pm

Sorry ladies and gentleman, but I still can't make it work. I am importing a jpg and then i try to isolate a building in the picture and make all the rest transparent. Can this be done :?: I'm new to inkscape so please be patient. Thanks!

Re: Can Inkscape make transparent backgrounds?

Post by microUgly » Fri Jul 11, 2008 6:36 pm

rogert wrote:On a related note, is there a way to get rid of parts of an image without clipping? I remember having tremendous problems when importing a PDF, as it was huge and I only wanted a small bit of it, but when I tried to export as PDF again it got rid of all the clipping. I know this problem with PDFs is known but I would like to know in general if I can delete things like that. Thank you.

It kinda depends on your drawing. As you noted, clips don't remove stuff, rather they hide them.

The only real way to do what you want is to manually delete the objects you don't want, or reshape them. Using "difference" from the path menu can make this easier but you'll need to do it to each object one at a time.

Re: Can Inkscape make transparent backgrounds?

Post by SureWhyNot » Fri Jul 11, 2008 1:44 pm


Top