Skip to content

canvas.toBuffer("image/jpeg") still makes a PNG #16

@jtoppine

Description

@jtoppine

According to types.ts and lib.js, toBuffer() should accept type argument and support "image/png" as well as "image/jpeg". However, a PNG image is created even if "image/jpeg" is specified.

PNG's can be pretty big for photos, JPG would be nice to have thumbnail creation and such.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions