Can't work directly with img.SubImage but can if write on disk and read

后端 未结 0 1585
夕颜
夕颜 2020-12-20 00:12

I\'ve got a function like this:

   func wrapImage(img *image.NRGBA, margin int) *image.NRGBA {
        doSomething
        return img.SubImage(image.Rect(marg         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题