Open starkdmi opened 3 years ago
I'll look at this issue. I don't have Vectornator but I will check it on Affinity Designer. SVG files are based on original library with some fixes.
Hmm, the original library does the same and website too, it's about skinl hair and clothes fill shapes, seems like they are rectangles and do not follow face/tshirt shapes. I temprorary resolved it by setting transparent colors for these properties and manyally set it after rendering in python.
Fisrt of all it's great python implementation of avatar generation, thanks for your time!
The PNG format looks good when exported, while SVG format has some fill/sizes mistakes i can't catch. On attaches you can see how SVG file previewed on macOS and how it looks when oppened in Vectornator. I also tried some python libs to work with SVG data, but layers/shapes/fills looks like on screenshots in Vectornator. On macOS it looks almost good, but the white space is much bigger in compare to other svg previews on my PC, so the size may be incorrect somewhere.
Do you now where it may occur? Is it error in main.svg markdown or maybe Python's SVGParser implemenation? I use the latest version of package, environment macOS, Python 3.