[go-nuts] Re: any way to save an image to 8-bit indexed png format?

2016-07-13 Thread xiiophen
On Wednesday, 13 July 2016 03:32:55 UTC+1, sleepy wrote: > > I need to shrink images to as small as possible with an acceptable quality. > found https://tinypng.com/ could convert the image to 8-bit indexed png, > which is best fit my requirement. > > however, I need to do this by my go program,

Re: [go-nuts] Re: any way to save an image to 8-bit indexed png format?

2016-07-13 Thread Nigel Tao
On Thu, Jul 14, 2016 at 2:07 AM, wrote: > [haven't actually checked if the PNG package will work with this - but this > would be the way to go if supported] The PNG package should work with this: https://play.golang.org/p/Sxl-nLnecy -- You received this message because you are subscribed to th

Re: [go-nuts] Re: any way to save an image to 8-bit indexed png format?

2016-07-14 Thread sleepy
Thanks, I will try it. 在 2016年7月14日星期四 UTC+8上午10:54:40,Nigel Tao写道: > > On Thu, Jul 14, 2016 at 2:07 AM, > > wrote: > > [haven't actually checked if the PNG package will work with this - but > this > > would be the way to go if supported] > > The PNG package should work with this: > https:/