Skip to content

Compress image before save #36

Open
@verdonarthur

Description

@verdonarthur

We must compress sended image before we saved them to prevent overusage of the disk.

Maybe this can be achieve with imagemin or with jimp (by scaling down the image)

fs.writeFile(imagePath, decodedData, (err) => {

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions