Polka dots pattern fill not exporting as png

Post questions on how to use or achieve an effect in Inkscape.
fariha_kazi
Posts: 2
Joined: Mon Sep 09, 2019 5:18 pm

Polka dots pattern fill not exporting as png

Postby fariha_kazi » Mon Sep 09, 2019 5:25 pm

Hello,

I am trying to use the in built pattern of polka dots
I created 2 rectangles one as background color and other has the pattern.

I placed them one above other and below are few things what I tried but to no avail.
1) grouped and export as png -> the background exports
2) combine both -> the whole thing dissappaears
3) union -> again whole thing dissappears.

Please help me as to what am I doing wrong.
I am using Inkscape 0.92.

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

Re: Polka dots pattern fill not exporting as png

Postby Moini » Mon Sep 09, 2019 10:14 pm

Can you share the SVG file, please? If you could add info about your operating system and your exact Inkscape version, too, that would be great.
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)

fariha_kazi
Posts: 2
Joined: Mon Sep 09, 2019 5:18 pm

Re: Polka dots pattern fill not exporting as png

Postby fariha_kazi » Tue Sep 10, 2019 2:15 am

I am using windows 10 , I was trying to batch export all the files as png but saw that few files were not exporting correctly and were black.
Inkscape 0.92.4 (5da689c313, 2019-01-14)
My svg is
https://drive.google.com/open?id=1Krea9 ... vTH5M2f3HT

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Polka dots pattern fill not exporting as png

Postby druban » Tue Sep 10, 2019 3:48 pm

Png's exported properly for me but I was not using batch. Some objects are grouped multiple times for no reason? Layers of transparent rectangles for what reason? Invisible filtered objects are there for what reason? If the file is failing because of something in your design it would definitely help to know why you have constructed it like this. Also, what resolution are you trying to export at?
When you say some objects don't export properly can you just show us those objects so we don't have to guess? Or do you mean the polka dot rectangle did not export properly?
Attachments
g122629.png
g122629.png (6.64 KiB) Viewed 1660 times
g14385.png
g14385.png (202.66 KiB) Viewed 1660 times
Your mind is what you think it is.

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

Re: Polka dots pattern fill not exporting as png

Postby Moini » Thu Sep 12, 2019 4:19 am

From just reading the file, I can see the following things:

- @druban: the export dpi is 300

- @fariha_kazi: grab the pattern origin handle (x-shaped) and move it into the object.
I think this is the bug you're hitting: https://bugs.launchpad.net/inkscape/+bug/1465753
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”