Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Preserve color palette for PNG images #4416
Original post on Discourse.
On my website, the PNG images resized with Hugo are bigger than the original.
For example, with an image called
Hi, I've spent some time toying with the
The good news is that there is an easy fix! We can reuse the original color palette on the reduced image.
There are more details at https://github.com/aitva/golang-png-encoding