Vectorise Image / Cutting Out - leave background

Post questions on how to use or achieve an effect in Inkscape.
domc
Posts: 1
Joined: Wed Oct 16, 2013 1:21 am

Vectorise Image / Cutting Out - leave background

Postby domc » Wed Oct 16, 2013 1:32 am

I've a colour image I'd like to vectorise as part of a banner logo. To get a good image I'm having to set mutiple scans at ~25 in trace bitmap, and then this is giving a large file size -much bigger than the png.

So I thought I cut out the prominent feature, the foreground, scan with reasonable resolution, scan the background with a lesser resolution and then combine them back again to create the image.

But I can't work out how to cut out an image and leave the background. If you trace the foreground object and use clip->set it just leaves you with the foreground cut out. I'd like to do the reverse and leave the background (a bit like path ->difference except this doesn't work on images).

Any ideas on how I do this please? Or any smarter ideas on how to more efficiently do the vectorisation of the colour image.

Many thanks Domc

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Vectorise Image / Cutting Out - leave background

Postby Lazur » Wed Oct 16, 2013 9:27 am

Hi.

Are you aware that logos should work in black and white too?
Think of the most overused design clichée logo of nike.
Or anything clean and legible.
A 25 coloured logo is not a good idea.

Or you want only a banner?
Banners have a fixed size usually. Not everyone will zoom in more than 200% to your page, so
a raster image twice the necessary size can cover most needs.
Would vectorising of it refuse the bandwidth? I have doubts.
Vectors are not for drawing small photorealistic raster images like that.

But anyway, some technical details:
If you have a path already drawn for the clipping mask, to "invert it"
draw a rectangle around the image,
then combine it with the masking path (Ctrl+K).
If at first it doesnt't appear right, undo it and mirror the rectangle and combine it again.

By clippig the parts out of your image it won't make it able to be auto-traced.
So after the clipping, press Alt+B to make a raster copy of the clipped raster image, and use that for the tracing.

Result may not be the cleanest though, maybe if you imported the svg in gimp on a new layer above the image you want to clip,
you could avoid any trouble of resampling your image, by clipping there
and use the resulted image for auto-tracing.


Return to “Help with using Inkscape”