Skip to content

Commit

Permalink
doc: remove anime_girl.svg in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl committed Jan 4, 2023
1 parent 97d8d2c commit d306795
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Output PNG Size : 1200 x 623

| SVG | PNG |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <img width="500" src="example/anime_girl.svg" alt="Anime girl SVG"><br/>[CC BY 3.0](https://creativecommons.org/licenses/by/3.0): [Niabot](https://commons.wikimedia.org/wiki/User:Niabot) | <img width="500" src="example/out-resvg-js.png" alt="Anime girl png" /><br/>[CC BY 3.0](https://creativecommons.org/licenses/by/3.0): [Niabot](https://commons.wikimedia.org/wiki/User:Niabot) |
| <img width="500" src="example/text.svg"> | <img width="500" src="example/text-out.png"> |

## Usage
Expand Down
1 change: 1 addition & 0 deletions example/compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d306795

Please sign in to comment.