fogleman / gg

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

Keep picture bits #163

Open achims1 opened 2 years ago

achims1 commented 2 years ago

I have a problem, when the image is loaded, my image is 8-bit, but when I use NewContextForRGBA to convert, I find that the image is converted to 32-bit, I want to keep my 8-bit when the image is drawn how to do pictures

dolmen commented 2 years ago

Please provide example code that would allow maintainers to reproduce your issue.