autotrace / autotrace

bitmap to vector graphics converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect background removal

EatEmAll opened this issue · comments

blender_logo_socket
I'm doing tests on the Blender logo with a transparent background.
Running autotrace without --background-color=FFFFFF results in an svg with white background.
Running it with background removal results in color being added to the inner parts of the logo including the letters.
This is the command that I ran:
autotrace --output-format=svg --background-color=FFFFFF blender_logo_socket.png > blender_logo_socket_autotrace.svg

This is the result after converting it back to png:
blender_logo_socket_autotrace

I've also tried multiple combinations of filter-iterations & noise-removal to no avail.
Am I missing something or is it just that the background removal script is implemented poorly?

Same issue here