From d30679511a86e2692c0ccc9b6f94bdda7ec31177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=9D?= Date: Wed, 4 Jan 2023 20:03:14 +0800 Subject: [PATCH] doc: remove anime_girl.svg in README.md --- README.md | 1 - example/compare.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 337e928f..bc7424d0 100755 --- a/README.md +++ b/README.md @@ -62,7 +62,6 @@ Output PNG Size : 1200 x 623 | SVG | PNG | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Anime girl SVG
[CC BY 3.0](https://creativecommons.org/licenses/by/3.0): [Niabot](https://commons.wikimedia.org/wiki/User:Niabot) | Anime girl png
[CC BY 3.0](https://creativecommons.org/licenses/by/3.0): [Niabot](https://commons.wikimedia.org/wiki/User:Niabot) | | | | ## Usage diff --git a/example/compare.js b/example/compare.js index c6c6e055..ec793067 100644 --- a/example/compare.js +++ b/example/compare.js @@ -8,6 +8,7 @@ const sharp = require('sharp') const { Resvg } = require('../index') async function main() { + // anime_girl.svg [CC BY 3.0](https://creativecommons.org/licenses/by/3.0): [Niabot](https://commons.wikimedia.org/wiki/User:Niabot) const svg = await fs.readFile(join(__dirname, './anime_girl.svg')) const zoom = 1 const w = 1052 * zoom // resize width