Skip to content

Feature: 希望koishi-plugin-puppeteer能修改渲染出的图片的格式,或者能压缩一下图片大小 #37

@OneTrueSum95

Description

@OneTrueSum95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions