photopea / UPNG.js

Fast and advanced PNG (APNG) decoder and encoder (lossy / lossless)
MIT License
2.1k stars 259 forks source link

Gif maximum can only be 256, can't increase the number of colors, hope to increase jitter processing to optimize the image effect. #65

Open 3400442579 opened 3 years ago

3400442579 commented 3 years ago

Gif maximum can only be 256, can't increase the number of colors, hope to increase jitter processing to optimize the image effect.

photopea commented 3 years ago

Hi, the GIF format is limited to 256 colors. How exactly can I help you?

3400442579 commented 3 years ago

UPNG.quantize(data, psize) add dithering

photopea commented 3 years ago

Have you thought about using JPG or PNG instead? These formats support more colors and are usually smaller than the GIF file.

3400442579 commented 3 years ago

Because the project can only use GIF.

1j01 commented 3 years ago

GIF.js has dithering.