image/png: Encode encodes 8 bit paletted output when palette will fit in less space #19879
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What did you do?
Call png.Encode(w, p) where p is a image.Paletted and len(p.Palette) <= 16.
What did you expect to see?
Encode to encode a 4 bit paletted image
What did you see instead?
Encode encodes a 8 bit paletted image
System details
The text was updated successfully, but these errors were encountered: