Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve SVG imports for images with some styling, etc. #11506

Closed
nfd9001 opened this issue Oct 22, 2023 · 1 comment
Closed

Improve SVG imports for images with some styling, etc. #11506

nfd9001 opened this issue Oct 22, 2023 · 1 comment
Assignees
Labels

Comments

@nfd9001
Copy link

nfd9001 commented Oct 22, 2023

Making a new issue per the request in #9373. Note that clicking through the link for the lineart has a full SVG, which you should be able to open up in your text editor (etc.) as needed. If you need more examples, please let me know, and do feel free to change this issue title as appropriate.


(re: preview png/svg import feature announced in-thread) Looks pretty promising in change description in the slicer preview! A feature like this could be really great for a project I'm working on with an artist right now; sadly it isn't quite working with the feature that's out in this first slicer alpha. He's been using a drawing app on an Android tablet to draw baseplates and lineart, exporting rasters, and then using https://vectorizer.ai/ (any old tool like this could work) to export vectors I can work with more easily in e.g. Fusion360. Here's an actual example of a file I tried to import and what I got:

Illustration19_1
image

Not quite right.

This process obviously wouldn't create super-clean vectors with strictly only shape data, like one might get out of InkScape, so I wasn't expecting that it'd necessarily immediately work. I just think it'd be worth documenting what sorts of features are supported, and if being a bit more permissive of input in some specific way seemed worth a new issue, I could see about making one.

Originally posted by @nfd9001 in #9373 (comment)

@Jony01
Copy link
Collaborator

Jony01 commented Oct 23, 2023

I see in inkscape there is white shape for background.
image
Fixed svg:
277138479-2ec975c7-cfde-4a2e-9b58-b966d236cdad_
image
When you delete white background everything is working ;-)

@Jony01 Jony01 closed this as completed Oct 23, 2023
@Jony01 Jony01 self-assigned this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants