A
A
Arseniy Kornilov2021-02-09 19:04:56
Node.js
Arseniy Kornilov, 2021-02-09 19:04:56

How to "destroy" a NodeJS image?

Good afternoon! How can you destroy image quality in Nodejs?

Like this: It's fine if it's handled by the canvas
6022b1a61095e753921284.jpeg
6022b1b0eee8b456087066.jpeg

module , but if there's a faster/easier alternative, great!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2021-02-09
@badcarrot

This effect is called posterization (in photo editors), or color quantization .
You need to google information on libraries that can do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question