I've been encouraged to move to a vector-based package like Inkscape to achieve better scalability in my images, but when I display a well-formed SVG spec with a set of Bezier curves in Inkscape I get a very perverse rendering compared to what both GIMP and Microsoft Edge show me.
My image is essentially a collection of parallel S-curves. An indicative section of my SVG spec showing a few of these curve specs is:
<svg
version="1.1"
width="2400"
height="1296"
viewbox="-320 1 2000 1296"
xmlns="http://www.w3.org/2000/svg">
...
...
(for some reason, code was not completely displayed in my original post -- here are some relevant Bezier specs)
...
Displayed in GIMP, I get what I expect:
Likewise in Edge (the bottom is cropped in the image, but appears with scrolling)
But if import into Inkscape, I get the following:
Anyone have any idea what is going on here? I've tried adjusting the stroke width, to no avail. Shouldn't matter anyway, as there is no overlap. It seems to me that even if the curves were rendered a little differently in Inkscape, the strictly parallel nature of their specs should keep them spaced. And what's with the black, anyway?
I'm new to Inkscape, so any help would be appreciated.
All right. svgshare.com is "over quota", and I cannot seem to insert the code directly, so here is a picture of a piece of the spec including everything except most of the paths, followed by its display in Inkscape. I think you can see there is no indication of black in the spec. I can change the fill to scarlet, and the image is the same, so the black does not appear to have anything to do with fill. The more disturbing part is the partial disappearance of the colored lines specified in the path declarations.
[
Incidentally, if I just include foo.svg as an image into this post, it tries to display as I would expect, except that the inclusion is ultimately not accepted as a proper image type.
transparent
. SVG 2 references other specifications if possible, and color is now only a crossreference to CSS Values and Units Level 3, which does definetransparent
. Inkscape is just a bit slow to implement the new version.