@Test
    public void parsePhoto() {
        try {
            String photo = "d:/quick-media/lyf.png";
            SvgParserWrapper.of(photo)
                    .setScaleRate(0.4)
                    .setBlockSize(1)
                    .setBgPredicate(c -> {
                        return c.getAlpha() < 10;
                    })
                    .build().asFile("d:/quick-media/lyf.svg");
            System.out.println("---over---");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
png/jpeg -> svg

@author YiHui
@date 2023/1/16
plugins/image-plugin/src/test/java/com/github/hui/quick/plugin/test/feat/svg/SvgParseTest.java