fogleman / gg

Go Graphics - 2D rendering in Go with a simple API.
https://godoc.org/github.com/fogleman/gg
MIT License
4.34k stars 352 forks source link

[Request] Add ability to set compression level for encoder #166

Open caevrobe opened 2 years ago

caevrobe commented 2 years ago

Instead of using png.Encode, use an encoder instance and allow its compression level to be changed.