When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Post questions on how to use or achieve an effect in Inkscape.
ImShaun
Posts: 2
Joined: Mon Dec 28, 2015 8:42 am

When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby ImShaun » Mon Dec 28, 2015 8:59 am

When I import a transparent PNG and use the "Trace Bitmap" function on it, you can still see the original, pixelly image under the newly vectorized one. Like it's on a different layer or something. How do I get rid of it?

Here's a PNG I've traced to show the problem I'm having:
Image
Here's what happens when I do trace it. I've colored the vectored parts blue so you can see more clearly what's going on:
Image

And here's the exported SVG. You can see the jagged edges are still there:
Attachments
VectorTest.svg
(12.1 KiB) Downloaded 202 times

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

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby Lazur » Mon Dec 28, 2015 9:27 am

That is the default behave, you have to delete the original raster image manually.
Like, this case, use Alt+Click to select objet behind the vector object.
There are several other ways for doing it too.

ImShaun
Posts: 2
Joined: Mon Dec 28, 2015 8:42 am

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby ImShaun » Mon Dec 28, 2015 12:39 pm

Alt+Click didn't select behind the vector object for whatever reason, so instead I selected the vector object, deleted it, selected the raster image, undid the deletion of the vector object, then removed the raster image while I still had it selected.

Anyway, thanks for your help!

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby Xav » Tue Dec 29, 2015 4:45 am

As Lazur said, there are several ways to delete an object that's behind another. The approach you took obviously works, but here are three others to consider:

1) If you're on Linux then straight use of the ALT key doesn't usually work (depending on window manager and config). If that's the case, hold the Windows key down, then also hold ALT before clicking. Again, this doesn't always work, depending on window manager and config, but is worth a try.

2) Select both items (drag a rectangle over them), then SHIFT-click the top one to deselect it. Check the status bar to ensure you've only got the bottom item selected.

3) Select the top item then use SHIFT plus one of the arrow keys to move it out of the way. Select and delete the bottom object, then SHIFT and the opposite arrow key to move the top one back into exactly the same place it was in previously.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby Moini » Tue Dec 29, 2015 5:12 am

ad 1.) You can also reassign the window modifier key to something other than Alt in your settings, so all shortcuts using Alt will work.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

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

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby brynn » Tue Dec 29, 2015 11:22 am

ImShaun wrote:Alt+Click didn't select behind the vector object for whatever reason, so instead I selected the vector object, deleted it, selected the raster image, undid the deletion of the vector object, then removed the raster image while I still had it selected.

Anyway, thanks for your help!


If you did Alt + click over an area that is transparent, it won't select. You have to have your mouse over a non-transparent area, to be able to select it.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby Xav » Tue Dec 29, 2015 6:23 pm

Moini wrote:ad 1.) You can also reassign the window modifier key to something other than Alt in your settings, so all shortcuts using Alt will work.


You can, yes. But note that this won't be a per-application change, but rather for the whole OS*. A OS that's been using ALT for this purpose for many, many, many years. Personally I prefer not to change well-ingrained defaults like that, if I can avoid it, as it can lead to confusion when you have to use someone else's machine (or run from a live CD).

* (Okay, for OS read "window manager", but they're effectively synonymous for most people)
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: When tracing a transparent bitmap, the unvectorized image still exists behind the vectorized one.

Postby Moini » Wed Dec 30, 2015 1:40 am

For me, it's one of the first things I do on every new installation :) I rarely need to move windows around by clicking directly inside.
Weird thing is that Alt+Tab and many other shortcuts still work, but Alt also works in Inkscape. Maybe it was always somehow broken...?

Ah - no: I found the reason. There's a setting in XFCE that allows to assign a key for 'grabbing and moving the window'. I only deactivated that one. Still works with some weird Alt + F7 combo. Maybe if someone else reads this, it will help them :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”