Inkscape.org
Beginners' Questions Image have dotted lines when zoomed out
  1. #1
    Chron Chron @Chron

    I'm adding the svg in my website. The starbucks logo makes that effect when I zoom it out, it is an embedded png. Is there a way to prevent making that dotted lines?

    Screenshot 2019 12 16 Screenshot(1)
  2. #2
    brynn brynn @brynn

    It's probably because when you zoom on a raster image, it pixelates.Β  Although that image is so small, zooming out only makes it smaller.Β  I don't know how you can even see the lines when zoomed out.

    However in this particular image, the white outlines are so thin, I think you can't avoid it.Β  Even if you re-drew it as a vector, the white outlines would be so thin, they probably never would display very well.

  3. #3
    Lazur Lazur @Lazur

    Hi.Β 

    Β 

    My guess it may be affected by the browser you are using too how the image appears, however the core of the problem is that the transparent pixels have a white colour with 0 alpha value.

    You'll need to use a raster editor to edit the image before embedding it to the svg.

    Β 

    In gimp you can create a layer mask from the image's alpha channel and paint green all the unnecessary white pixels.

    Β 

    Besides that there is not much you can do correcting that logo in inkscape. Can trace bitmap and use a vector double for itΒ but some quality will be lost then.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Image have dotted lines when zoomed out