We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
png有点大,能否支持svg转jpg?
The text was updated successfully, but these errors were encountered:
这个项目的首要目标是输出无损的位图格式,jpeg 的优先级不高。
不过 @Brooooooklyn 有一个分支支持输出 jpeg,你可以编译试试:https://github.com/yisibl/resvg-js/tree/jpeg
Sorry, something went wrong.
你可以用 RenderedImage::pixels() 这个API拿到RGBA buffer(Uint8Array),然后随便用什么库去encode
RenderedImage::pixels()
No branches or pull requests
png有点大,能否支持svg转jpg?
The text was updated successfully, but these errors were encountered: