Text and image overlap

Post questions on how to use or achieve an effect in Inkscape.
fetznetz
Posts: 3
Joined: Mon Oct 15, 2012 12:52 am

Text and image overlap

Postby fetznetz » Mon Oct 15, 2012 1:00 am

hello,

I have a seemingly simple task: A grayscale image should be partially overlapped by text. The black text should appear white in the overlapping region. I've tried cutting and masking but can't seem to achive the desired result. I'd be very happy to receive advice.

thank you!

fetznetz
Posts: 3
Joined: Mon Oct 15, 2012 12:52 am

Re: Text and image overlap

Postby fetznetz » Mon Oct 15, 2012 1:22 am

Only minutes after my post I came up with this: duplicate the text, fill white. draw a black rectangle around the overlapping area. overlap paths, put the resulting object on top, black text below image.

It just works(tm) but rather seems like a workaround. I'm pretty sure there is a more elegant way to do this?

thank you!

Jelle
Posts: 78
Joined: Sat Nov 06, 2010 11:25 am

Re: Text and image overlap

Postby Jelle » Mon Oct 15, 2012 6:48 pm

A more elegant way to do this may be to create a black text, make a duplicate of this in white, draw a rectangle the same size of your bitmap on top of it and clip the white text into the rectangle (select the rectangle and the white text, object -> clip -> set

That way you can more easily change the background image of your design as the collection of objects is free standing (no need for an extra object to mask the text).

Alternatively, you can use the "fill bounded area" tool (SHIFT+F7) to fill the area outside of the bitmap area (just move the text under the bitmap then fill the visible text area), and fill this with the required color. The "fill bounded area" tool gets its precision from the resolution of your screen though, so the higher the zoom level, the more precise it is.

Either way may be useful for you, but just clipping it will be faster and easier.

fetznetz
Posts: 3
Joined: Mon Oct 15, 2012 12:52 am

Re: Text and image overlap

Postby fetznetz » Tue Oct 16, 2012 3:20 am

thank you Jelle,

I looked at your first suggestion and it works like a charm. Of course it helps a lot to be able to change things later on.

thanks again!


Return to “Help with using Inkscape”