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: 希望koishi-plugin-puppeteer能修改渲染出的图片的格式,或者能压缩一下图片大小 #37

Open
OneTrueSum95 opened this issue Feb 3, 2024 · 0 comments · May be fixed by #39

Comments

@OneTrueSum95
Copy link

Describe the problem related to the feature request

我用一张140kb的背景ctx.puppeteer.render()渲染后,图片的大小来到了2.6mb,图片质量没有提高,但响应时间大大增加了

Describe the solution you'd like

在图片质量不重要时,能不能增加某些可选参数降低一下图片的大小?

Describe alternatives you've considered

No response

Additional context

No response

@MaikoTan MaikoTan transferred this issue from koishijs/koishi Feb 11, 2024
@Lipraty Lipraty linked a pull request Mar 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant