Inkscape.org
Beginners' Questions png export 'accidentally' inverts
  1. #1
    Jay Jay @JayWP

    Win10
    Inkscape 1.0.1
    HP envy wย Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz ย  2.90 GHz, 8GB RAM

    I'm very new to Inkscape and right now hacking my way through an "easy" project - importing line drawings to make them available for download and coloring for a school project. I started with JPEG scans of 10 docs. I IMPORTED each jpeg and cleaned them up with various shapes - in most cases I didn't even TRACE the bitmaps. As I said, hacks like drawing white boxes and lines over the kids mistakes.

    In at least one case where I did trace, when I then exported to PNG, the image is partly inverted - specifically the original JPEG conversion to vectors. Other shapes (the previously mentioned boxes) did NOT invert. I've tried the import/trace process to see if there is a fundamental problem with my jpegs (done one after the other with no setting changes) but all the others I tried this with come out fine. The original jpeg also seems to export fine.

    I've only been able to find how to do this on purpose in the documentation/help, and reversing the steps didn't seem to help. I'm sure the problem is glaringly obvious but I've not built enough familiarity to find the solution.

    I've attached the rogue svg, the jpeg file, and the resulting png. I used single scan, brightness threshold of 0.9, speckles 2, smooth 1 and optimize 0.2 (because I have no idea what those do). Hope someone can help.ย Oh, I changed some setting and rather than the 'inversion' of black/white, the background is very dark, although the image prints fine.

    jay

    School1E
    Colee
    Colee
  2. #2
    Polygon Polygon @Polygonโš–๐ŸŒถ

    What do you mean by "Invert"? ย I got the exact same result: black filled shapes on transparent background color.

  3. #3
    Jay Jay @JayWP

    Polygon

    The first time this happen, I got the equivalent of a blueprint. The background was black and all of the lines were white. I'm not able to recreate that outcome any longer and I guess I deleted those files, I now just end up with this dark over-layer in the png image on my displayย  [see theย  ColeE's above]. It prints OK, just looks funky and I'm a little worried that recipients will think the file is 'damaged'. But the experience has me busy on our foundation logo!!

Inkscape Inkscape.org Inkscape Forum Beginners' Questions png export 'accidentally' inverts