(src image.Image)
| 168 | } |
| 169 | |
| 170 | func imageToRGBA(src image.Image) *image.RGBA { |
| 171 | dst := image.NewRGBA(src.Bounds()) |
| 172 | draw.Draw(dst, dst.Rect, src, image.ZP, draw.Src) |
| 173 | return dst |
| 174 | } |
| 175 | |
| 176 | func copyRGBA(src *image.RGBA) *image.RGBA { |
| 177 | dst := image.NewRGBA(src.Bounds()) |
no test coverage detected
searching dependent graphs…