Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] @resvg/resvg-cli support for npx or bunx CLI usage #348

Open
Zhengqbbb opened this issue Jul 16, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Zhengqbbb
Copy link

Zhengqbbb commented Jul 16, 2024

💡 @resvg/resvg-cli or @resvg/cli or resvg-cli

I didn't find a binary distribution library like Python's resvg-cli in the npm ecosystem.

  1. Use npx | bunx to directly call resvg to generate PNG.
  2. Use npm to distribute commands and binary applications, and also distribute through npmmirror in China.

npx @resvg/resvg-cli  --width 1200 in.svg out.png

cat a.svg | npx @resvg/resvg-cli  --width 1200 - out.png
@yisibl
Copy link
Member

yisibl commented Jul 16, 2024

Feel free to join us in building the resvg-js ecosystem.

@yisibl yisibl added the enhancement New feature or request label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants