Inkscape.org
Beginners' Questions Perhaps this is layers related?
  1. #1
    Applestump Applestump @Applestump

    I first noticed this using GIMP but now Inkscape PNG files seem to have this feature too.

     

    For example if you trace an outline say of a basket ball then remove the photo underneath, it leaves the tracing or sketch - all good, however from time to time using different tools or views I notice the original background fleetingly re-appear?

     

    So far I have ignored it but opening the exported PNG in Windows up it pops, also uploading to some web sites brings back the original image permanently, so high time I tackled this as clearly part of my process is incorrect.

     

    Thank you.

  2. #2
    brynn brynn @brynn

    Please share an SVG file, with the original image and traced image in it, where we can see this problem happening.  Also tell us exactly what to do, to see it.

    I'm thinking possibly you traced with the Remove Background option not checked, so that maybe you're seeing the background object.  But I'm guessing at this point.  An  SVG file would allow us to hopefully give a more certain answer.

  3. #3
    Applestump Applestump @Applestump

    Thanks for the reply, it's a really tricky one to replicate for example when cropping some photos using GIMP to give round edges, opening in Microsoft Image viewer briefly showed the cut edges.

     

    The next time it pops up will try and save and upload, it's these sorts of glitches which make me think my process is a bit awkward.

  4. #4
    brynn brynn @brynn

    Are all the times when it happens, it's showing the corners which you rounded, but it shows them sharp?  That's going to be expected under at least a couple of situations.

    First, images are always rectangular or square, with sharp corners.  There's no such thing as a round image on the internet.  It might look round, if you made a transparent background.  But the image is still rectangular or square, but with transparency in the corners where you rounded them.

    You might commonly see that in a file manager, where support for transparency is usually minimal.  Or maybe even in an image album or gallery or image host on the internet, if it (or its server) does not have good support for transparency.  (ImageShack used to be notorious for this.)  And as you noted, you might see it while the image is loading, either opening in another program, or loading into the browser on a webpage.

    As long as the image looks ok after it is completely loaded, then it's probably ok.

    But if you see it happen, share the file with us, and we can check and make sure the image is made properly.  It's possible there's a problem with it.  We just need to see it to be sure.

  5. #5
    Applestump Applestump @Applestump
    *

    Great, thanks - that is a very similar answer to when I posted the question on GIMP forum last year.

    Going back to the original problem, my guess is that I am not completely deleting previous images, perhaps just making them transparent. Here is a good example, tried several different tutorial approaches to remove the inner yellow section, all involve using the Bezier tool to select the image then shift outside using either Object>Click>Set or Path>Difference, on both occasions the outside is moved leaving the inner yellow selection, I also tried ‘invert selection’ .

    I have used the above successfully on the outer part no problem, but inner is proving a tad more challenging – this is the main tutorial followed (many times now : )

    https://www.youtube.com/watch?v=aMnBRYsQJuY

     

    edit, still problems with attachements, basically I have drawn a Bezier line around the inside covering yellow part - how to remove this anf not the outer, does it need a seperate layer perhaps?

     

    Thanks

  6. #6
    Applestump Applestump @Applestump
    *

    Managed to acheive the desired effect but making two Bezier cut outs, one for the inner and one for outer, then merging two togther on a separate canvas. Seems a bit long winded but gets the job done.

     

    edit, merging the two Bezier cut-outs seems to work well...until I tried to move the combined inaged, even though new canvas underlying image is still there left behind under the outlines.

  7. #7
    brynn brynn @brynn

    Hhmm, this is an imported raster image.  Are you saying you want to remove the yellow part of this image?  Definitely Inkscape is not the right tool for that.  It's a raster image and needs a raster editor, such as gimp, to remove part of it. 

    Or you mentioned something about tracing in your first message.  Do you want to trace this? 

    I'm confused.

  8. #8
    Applestump Applestump @Applestump

    ...ahh that makes sense, when you imprt to and save as SVG does it not automatically change to Vector?

     

    Can you see the image as problems with upload.

     

    Tracing using Bezier, yes to create a baseline for me to work from, hopeless at freehand so need something underneath to provide a basic guide then remove. I hav GIMP too, so can switch between each when/if needed.

  9. #9
    brynn brynn @brynn
    *

    Uummm....  Well there was an SVG file attached here earlier, and I downloaded it.  But it seems to be gone now?  Did you remove it?

    No, importing a raster image, and saving as SVG does not convert it to vector.  It's still a raster image in the SVG file.  It needs to be converted to vector by either hand tracing or auto-tracing.

  10. #10
    Applestump Applestump @Applestump

    I removed it as blank, the last one I posted showed the contents.

    I have attached another SVG file where U have used the Bezier tool, both on the outer imager to remove background and now on the inner - could you help point out how remove the inner part leaving just the outline, thanks

     

    Inner Hourglass
  11. #11
    brynn brynn @brynn
    Applestump

    I removed it as blank, the last one I posted showed the contents.

    It was not blank.  The image was not inside the page border, so we could not see the image in the forum.  But when I downloaded it and opened in Inkscape, I saw it.

    This is not something Inkscape is supposed to be used for.  It's a raster image, and there's not much Inkscape can do with raster images.

    I think I could probably find a way to do it with clipping....  But depending on what you're going to do with the resulting image, clipping might not be supported.

    Do you want to remove the sand?  Or just the diagonal lines?

     

  12. #12
    Applestump Applestump @Applestump

    It sounds as though I would be better off starting with a Vector image rather than convert raster > vector, plase don't spend anytime on that as I can get a vector image to use.

  13. #13
    brynn brynn @brynn
    🐧

    Well....maybe.  What is your ultimate goal for this image?  There's a good chance it matters.

    Clipping is not the same thing as cropping.  With clipping, the unwanted parts are essentially hidden.  With cropping, the unwanted parts are completely removed.  So wherever you're going to use the final result, if you need the parts completely removed, then you definitely need to use a raster editor, where you can crop it.

    But, if you ultimately need a vector image, it would be better to start out with a vector image, rather than converting a raster image to vector.

  14. #14
    Applestump Applestump @Applestump

    <With clipping, the unwanted parts are essentially hidden.>

    This probably explains the phantom reappearance of background 'clipped' images, yes, I had considered clipping to be similar to cropping.

    The skecthed or traced images are to be used as a base for other artwork, it's way too difficult to draw freehand so need a baseline to work around. That said, the hourglass should be pretty easy to do in Inkscape with even my low skill level, its probably other ideas that I have which are more complex.

    Going back to the original question,, if you wanted to remove the yellow sand as suggested and this was a vector image would it work using the tutorial above, i.e clip>set ?

     

    thanks

  15. #15
    brynn brynn @brynn

    If it's an all vector image, you would not need to use clipping.  You would just delete the yellow sand object.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Perhaps this is layers related?