gotcha

Author Topic: unwanted white border on PNG export  (Read 471 times)

April 26, 2019, 10:41:29 AM
Read 471 times

Maesh

  • Sr. Newbie

  • Offline
  • **

  • 5
Hello,
I create seamless repeat patterns on inkscape. All my elements are vectorized.
When I export my image as a PNG, it always ends up having a white outline to it, which then makes it impossible to use as a repeat pattern (because a white grid is then appearant in the repeat)
I export my 600x600 pixels image, at 300 ppi.
I would need a way to export my image white the edges perfectly lined with the border of my image, not adding or cropping anything.

Has anyone got an answer?

from a panicky young designer  :xf2:
  • 0.92.2

April 27, 2019, 05:11:25 AM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Can you share an SVG file? Does the pattern image match the page size exactly? Is it positioned exactly on the page borders?

April 28, 2019, 01:12:26 AM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

It would also help us to know what you do with these patterns.  Depending on your end goal, there might be different ways to fix or avoid the "outline".
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 28, 2019, 04:14:53 PM
Reply #3

flamingolady

  • IC Mentor

  • Offline
  • ******
  • Flamingo Lady

  • 154
  • Gender
    Female

    Female
It's possible you are exporting the entire page.  I find it works best when I group my items together as one large group, then select it before you select export.   (You get 4 options, and each one does something different).  Be sure 'selection' is highlighted, then export as usual and only what is selected will export.  That should make it seamless unless you may accidentally have a hidden white object behind something.  To figure that out, click on 'select all in all layers' and see if anything unusual gets selected.