Inkscape.org
Beginners' Questions export svg as png but it's like a mask covering it
  1. #1
    OLE OLE @OLE

    What I see on the screen is different to what I export. I've tried to see what I may have done, but there is a charcoal colour layer over the top of the .png that I just don't see on the screen prior to export.

    I would be grateful if someone could explain what I'm doing wrong.

    Blind Justice   Circular Text  Shield
    Blind Justice Whitecircle And Text Positioned
  2. #2
    Tyler Durden Tyler Durden @TylerDurden
    *

    I moved the amber circle to the back and ungrouped the Justice figure.

     

    Blind Justice Yellow  Circular Text  Shield
    Blind Justice  Td
  3. #3
    Polygon Polygon @Polygon🌶

    You have some transparency in the yellowish circle - not sure if this is intended - when it´s opaque and in the background the PNG export will look like so:

    Ist this correct?

  4. #4
    OLE OLE @OLE

    Hi thanks for your help. The first comment about objects I tried rearranging but same problem remains. The second comment there may be transparency I'm not sure. But the colour extends across the whole page.

    Thanks for helping

     

  5. #5
    Polygon Polygon @Polygon🌶

    I´m not sure what the problem is actually. That is all what´s in your file after ungrouping. 2 elements are just dirt I guess. So I have no clue where the dark shape/element/whatever comes from other then from you application/target app.

  6. #6
    OLE OLE @OLE

    Hi Polygon. Many thanks for your comment.

    I think this may be a bug or my incompetence. But, if it's a bug it may well lie in the bitmap trace component of inkscape. When I try to export a test.png without using the trace facility it exports fine.

    OK thanks anyway. BTW, I am not alone, I received a message from someone saying they had the same problem and to let them know if I solve it.

     

  7. #7
    Polygon Polygon @Polygon🌶

    I still don´t see the issue. Can you please check the file?

  8. #8
    Tyler Durden Tyler Durden @TylerDurden

    The images shared in replies #2 and #3 display properly when inserted into a document.

     

     

  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    It may be the document software being used.

    Using the png files provided, there is no dark region when inserted into a document file, nor in GIMP. There is desaturation of the blacks due to the stacking of the circle in front of the trace objects; easily fixed as described.

  10. #10
    OLE OLE @OLE

    I guess I just don't understand. When I went into the inkscape again and followed the advice the same problem occurred. It's to put on a website as a logo. When I export as a .png it has a dark film over it.

  11. #11
    Polygon Polygon @Polygon🌶

    Can't you just test the uploaded SVG-file please to check if this already works or something else is in the way? 

  12. #12
    OLE OLE @OLE

    Hi Polygon, if you are talking about the SVG that I uploaded to here, I reopened it and deconstructed it changing layers. It's like looking at it with sunglasses on.

  13. #13
    Polygon Polygon @Polygon🌶

    OMG - please take the SVG-file from reply #7

  14. #14
    Tyler Durden Tyler Durden @TylerDurden

    The example files from Polygon and myself can be downloaded via right-click-save-image-as...

    Sharing a screenshot of Inkscape with the file open and the Objects dialog visible and the Export dialog visible might also be helpful. (see example)

     

     

    2022 01 17 09 55 57
  15. #15
    OLE OLE @OLE

    I didn't realise that was possible. It saves as an SVG. Great. I wish I understood why it happened but am grateful for your quick and constructive feedback.

  16. #16
    Polygon Polygon @Polygon🌶

    And? Any progress?

  17. #17
    OLE OLE @OLE

    :-) Yes thank you. I am going to upload it to the website and see how it fares. You guys are great.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions export svg as png but it's like a mask covering it