PNGToSVG
PNGToSVG copied to clipboard
Stuck at Calculating edges: 3.61%
Hi,
I have run python file using below command.
python3 pngtosvg.py original.png
but it show Converting image: upto 99.92% and after this it will stuck on Calculating edges: 3.61%.
Pleas provide instruction if i forgot.
Hello,
I've tested both the executable and calling the script directly with four diferent images (~500kb, ~1MB, ~2MB and ~3MB), all of the tests finished correctly. I need some more information of your case yo help you:
- What exact python version are you using?
- What library versions do you have installed?
- If posible, what image are you trying to convert?
Hello,
I have try different pngs files and working fine but one file stuck at Calculating edges: 3.61% on below lion image.
Please check below details
Python version : Python 3.8.5
Library versions : 0.2
Image:
Stuck Screen Shot :
One more question: Is there any option to reduce svg file size? Ex: i have convert one png which has 79 kb but after conversion svg file size is 3.2 mb.
Stuck in process with two other png files,please check it
All above three images converted successfully but its taking long time(approx 30 45 min) to convert. Please give me instruction about reduce svg file size. Ex: i have convert one png which has 79 kb but after conversion svg file size is 3.2 mb.
Right now there is no way to configure the call so that it produces a lighter output SVG, sorry.
This project is relatively abandoned, however, if I ever have the time to invest here, I'll try to see why some images take so long, also, if anyone is willing to improve that part, I'll gladly merge any working patch and make a new release.
Thank you :)
Marked as enhancement as we already know this is not really stuck, but just really slow. If someone is willing to put the effort to investigate the long processing times and develop an optimization, I will merge the changes to this project.