Clip and Set doesn't seem to work

Post questions on how to use or achieve an effect in Inkscape.
Krow22
Posts: 1
Joined: Sun Feb 05, 2012 2:10 pm

Clip and Set doesn't seem to work

Postby Krow22 » Sun Feb 05, 2012 2:35 pm

Hello Everyone, I am pretty new to Inkscape but I do have some moderate experience with GIMP.

Today I was following a tutorial and it required the Clip - Set tool. After creating an object and creating copies (Ctrl+ D) i added a blur created an other copy and then i used the select tool (arrow icon) to place a box around the object and then i went to Object - Clip - Set but nothing happens. The objects i created were done so in Z-form. So, i totally don't understand why it isn't working.

I have searched and searched to see if i could find any information about a possible bug with the Clip option but i haven't been able to find any. I have also looked for different tutorials for using the Clip - Set tool to get rid of a bleed effect after using a blur but i haven't been able to find anything. :?

Can anyone tell me if they too are having a Clip problem? Or, maybe tell me if i am doing something wrong? :? :(

Also, is there a different way to remove a bleed effect?

I really really appreciate your time and efforts. TY in advance!!

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Clip and Set doesn't seem to work

Postby brynn » Sun Feb 05, 2012 8:09 pm

Image
Welcome to InkscapeForum!

When you used the Selection tool to select something, before setting the clip, what did you select? You need to select both the clipping path (the last duplicate) and the blurred object. And as you've learned, with the clipping path on top of the blurred object. You can hold the Shift key to make a multiple selection.

No, there's no better way -- clipping is absolutely the best way to get rid of blur bleed. It just takes a bit of practice sometimes. I'm not clear whether you may have selected only one object or more than 2. If all you have there is the blurred object and the clipping path (the duplicate), then dragging the selection box is a great way to do it. But you mentioned making copies. So if you have more than 2 objects all stacked up, it would probably be better to use the Shift key to make a multiple selection. And possibly you might use the Alt key as well. The Alt key allows you to select objects which are hidden below other objects. So here might be one way to select the 2 proper objects.

-- click once on the top object (the clipping path)
-- without moving the mouse, hold Alt + Shift then click once more

Also note that you can look at the status bar when you select things, to make sure you're selecting what you mean to select. There you can see the style info on the left and some text descriptions in the middle.

You can also clip a group of objects. So another option would be to group all the stacked up objects, excluding the clipping path. Then select the group and the clipping path. And my last thought is that you might not have actually selected the blurred object. If there is a really lot of blur, sometimes you have to drag the selection box much bigger, to make sure you get it selected.

After you get the hang of it, you'll find a few different techniques that work in different situations. For example, let's say you're doing this with just a simple circle. You might make the clipping path with a stroke and no fill. Then it's easy to select it, and the circle below it, just by holding the Shift key. I don't often use that, because if you ever have to release the clip, it might be hard to see the original clipping path since it's just a stroke. I usually make my clipping paths with some outrageous color (hot pink, neon green, etc.) to keep from confusing them with the objects I'm clipping, if I ever have to release the clip.

Anyway, sorry to be rambling on :oops: Let us know how it goes :D

WishIknewEverything
Posts: 1
Joined: Thu Apr 20, 2017 4:46 am

Re: Clip and Set doesn't seem to work

Postby WishIknewEverything » Thu Apr 20, 2017 4:53 am

Hi there,

Please bear with me as I'm totally not very tech savvy. I opened a photo in Inkscape, and want to cut out a part of the photo and discard the background. So I drew a line around the part I want to cut out. I've done this many times before. Then, you select the line, press shift and select the whole picture, go to Object, Clip, Set. However, with the case in question when I follow these steps, everything (the whole picture) disappears and I'm only left with the outline I drew around the part I wanted to cut out.

Please help :| Thank you.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Clip and Set doesn't seem to work

Postby brynn » Thu Apr 20, 2017 3:07 pm

The clipping path needs to be on top of the photo (in z order). I often give a bright, ugly color, so it doesn't get mixed up with other objects.

Or you might not have had the correct objects selected. Is there anything else in the file, besides the clipping path and the photo?
Last edited by brynn on Fri Apr 21, 2017 9:04 am, edited 1 time in total.
Reason: typo

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Clip and Set doesn't seem to work

Postby Polygon » Thu Apr 20, 2017 5:05 pm

Not sure if this will help because you said you´ve done it before successfully - so we don´t know what´s different now.
There are 2 ways to cut out from a raster image: clipping and masking.
Clipping works with contour, fill or both. Paths don´t have to be closed.
Masking needs a color filled form otherwise just the contour will work as a mask and it depends on the brightness of the color fill: White means 100% and black 0% from what you get from your image after masking. Filtered forms or gradients will just work as masks.

Cheers
P.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Clip and Set doesn't seem to work

Postby tylerdurden » Thu Apr 20, 2017 6:46 pm

To use clipping to create a "hole" in an object, the clipping path needs a "hole" in it.

Add a large rectangle to the clipping path (path combine), then perform the clip operation. The rectangle should be bigger than the object you want to clip.

Clipping uses one closed path to define the boundary of other objects, so wherever there would be fill color in the clipping object, is where the clipped objects will be shown.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Clip and Set doesn't seem to work

Postby Polygon » Thu Apr 20, 2017 11:45 pm

WishIknewEverything wrote:...and want to cut out a part of the photo and discard the background..

So this is read as "a hole in a picture"?
Ok.

Cheers
P.


Return to “Help with using Inkscape”