Inkscape.org
Beginners' Questions Path Difference with photos
  1. #1
    phill.bu phill.bu @phill.bu

    Hey guys! I come from Coreldraw and can't figure out how to use Path Difference with photos (raster images). Is this possible in Inkscape? Or maybe it simply isn't working.

    An example would be to create a circle above an image and use Path Intersection to exclude everything outside the circle. The end result would be an image within a circle. This works fine with only objects, but not with images.

    Is it a bug or does Inkscape not have this functionality. In this case, what is a workaround? Thanks!

    Ink Error
  2. #2
    z3z z3z @z3z
    *

    Hi, you can use 'clipping' for this. In your example, you'd click the photo and the circle, so that both are selected, then go to the Object menu and select Clip / Set. You're not deleting the parts of the photo that are outside the circle. You're only hiding them.

    The Path tools (Union, Difference, Intersection etc etc) will only work on vector objects, not on raster images.

  3. #3
    joemoto joemoto @joemoto

    I was able to use the clipping tool to create an image within a circle, but when I tried to use it a second time the original clip was overridden.  How am i able to remove parts of an image in two different actions?

  4. #4
    z3z z3z @z3z

    You can 'union' the shapes before applying the clip.

    For example, let's say you want only two circular areas to show from a photo. Create your circles and position them where you want. Then, select both circles and union them with menu Path > Union (or Ctrl ++). Now select your new 'two circles' shape, then select your photo, then apply Object > Clip > Set.

    Does that do what you need? If not, can you share a screenshot of what you're trying to achieve?

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Or create clones of the original picture [Edit > Clone > Create Clone] or [alt+d] and apply clip paths to each of these.

  6. #6
    joemoto joemoto @joemoto

    Path>Intersection got me where I needed to go.  Thanks for putting me on the right track