Closed lvrma closed 2 years ago
When there are too many smoothing iterations for an image, png2poly crashes with an "index 1 out of range" error.
This size check (admittedly, not the most elegant solution) fixes the bug!
When there are too many smoothing iterations for an image, png2poly crashes with an "index 1 out of range" error.
This size check (admittedly, not the most elegant solution) fixes the bug!