gotcha

Author Topic: Blank png file  (Read 2907 times)

February 15, 2018, 01:31:34 PM
Read 2907 times

03309ham

  • Sr. Newbie

  • Offline
  • **

  • 2
So I've seen a couple other people having problems with Inkscape exporting a blank .png file, but as far as I can tell, I'm not doing anything wrong. I'm just trying to export a particular object to a .png file. In the Export window, I have Selection chosen, the particular object is selected, the x and y axes are correct, as is the size of the image I'm trying to export. I have successfully exported 38 of images I need, but 4 are not working. They are only exporting to a blank .png file. I've also tried duplicating the image and then exporting it as well as just making a new image, but still no luck. What am I doing wrong?
  • 0.92.2
  • Mac OS 10.13.3

February 15, 2018, 02:56:31 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

From looking at your screenshot, it looks like you're exporting at 600.02 DPI.  This creates a huge image (2362 px) and it may be that it just takes longer for the export to be finished.  Do you see the progress indicator, after clicking to start the export?

I also notice that the selection is part of a group.  I don't think that should make any difference though.  It's probably just taking longer than you realize.  Try waiting a few minutes for the export to finish.  Also watch for the progress indicator.

If it still doesn't seem to work, please share the SVG file with us.
  • 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                       

February 15, 2018, 04:14:42 PM
Reply #2

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I guess it's the pattern... See also https://bugs.launchpad.net/inkscape/+bug/1465753 (supposed to be fixed, but isn't)
Can you confirm that it works at other resolutions (e.g. 30dpi)? Can you try moving the pattern handle into the object?

February 16, 2018, 02:22:10 PM
Reply #3

03309ham

  • Sr. Newbie

  • Offline
  • **

  • 2
On the 38 files that exported, the progress bar moves and takes about 3 seconds to export an image. On the 4 that didn't export, the progress bar flies through and shows completion in under 1 second.
  • 0.92.2
  • Mac OS 10.13.3

February 17, 2018, 05:07:50 AM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Yeah, well, did you read my reply?...

February 17, 2018, 08:41:14 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
In case that bug report is too technical for you to understand (it is for me), then I would try what Moini suggests:

1 - Try exporting at 30.0 DPI.  Report results here.
2 - Move the pattern handle over to the object, if it isn't already, and try again.

Do you need instructions for moving the pattern handle?  As far as I understand, this might fix the problem for you.  If I don't understand, then it must be needed for the bug report.

If this is all over your head, and if you would provide your SVG file for us, then we can follow through with the bug report, and make sure this gets fixed.  If you're unable to provide the SVG file (like for example, its license won't allow it) then we just won't be able to use your experience for the bug report.

If moving the pattern handle didn't work, you could draw that stripe fill, without using a Pattern, and I would guess, from all the info which has been provided (to the best of my ability to understand it) you won't have this problem.

Would you like some instructions for drawing the stripe pattern with paths?  Or it could be done with long,skinny rectangles, as well.  For filling a circle, this would require using a Clip, to clean up the 90 degreen ends. (or possibly a boolean)
  • 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