Inkscape.org
Beginners' Questions Trying to cut text out of image
  1. #1
    GruffsMum GruffsMum @GruffsMum
    *

    Good day, everyone, I hope I've posted this in the right section, as I've been using Inkscape for over a year.

    I'm trying to cut text out of an image. Have tried doing Object>Object to Path to change text to a path, but though the text shows the nodules and is grouped, object properties shows it is still text, not a path.

    I'm hoping to use Difference to cut the text out of the image. Also that I'll be able to attach my file so you can maybe see what I'm doing wrong.

    Thanks so much in advance for your time.

    ย 

  2. #2
    David248 David248 @David248
    *

    Ungroup and combine all lettersย and set a clip.

    ย 

    ย 

  3. #3
    Polygon Polygon @Polygonโš–๐ŸŒถ

    Type text scale and position, select with image and go Object->Clip->Set Inverse Clip. Done.

    (Itยดs not working on macOS for me though I have to draw a larger rectangle than the image and Path->Combine it with the Text object and use Object->Clip->Set Clip instead. You have to make sure the text and rectangle path are having opposite path directions.)

  4. #4
    David248 David248 @David248

    My apologies : I gave you a wrong advice, I didn't see your attached files and misunderstood (inverted) your needs. Polygon gave you the right way to do.

    In order to avoid multiples clips on this image, I'd suggest you to do the follwing :

    1. Open object's panel : ctrl + shift + L, select image 1-4 (eventually resize it) and do object > pattern > object to pattern (shortcut : Alt+i) : status bar will now display that image is now a rectangle (filled with a bitmap pattern.
    2. In selector tool, enable in control bar the option Move patterns (in fill or stroke) with object or you'll become mad as soon as you will want to move this rectangle.
    3. Now you can perform any boolean operation on this rectangle to remove the letters, the mountains background and so on. Ensure to let the dragon under any new path to be used for boolean ops, so that the bitmap filled background remains (the results gets the fill and stroke of the bottomest path).
  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    For some reason, Polygon's inverse clip doesn't work for me - I must investigate this - so here's another method.

    Draw a rectangle that covers your entire bitmap. You might set the opacity to 50% to see through it. Bring your yellow text to the top. Select text and rectangle then [Path > Exclusion]. Select the new path and your bitmap then [Object > Clip > Set Clip].

    Note to OP: Your attachment is huge. 19MB!. You reached your upload limit with a single post. A single simple bitmap in the svg would be just as good.

    Clipping Example
  6. #6
    Polygon Polygon @Polygonโš–๐ŸŒถ

    @Paddy_CAD as per my footnote Inverse Clip is not working for me on macOS as it supposed to or made for - thatยดs why I have to go this route:

  7. #7
    David248 David248 @David248

    Illustration of post #4

    Pattern1
Inkscape Inkscape.org Inkscape Forum Beginners' Questions Trying to cut text out of image