(c *Context)
| 1 | package processing |
| 2 | |
| 3 | func (p *Processor) flatten(c *Context) error { |
| 4 | if !c.PO.ShouldFlatten() && c.PO.Format().SupportsAlpha() { |
| 5 | return nil |
| 6 | } |
| 7 | |
| 8 | return c.Img.Flatten(c.PO.Background()) |
| 9 | } |
nothing calls this directly
no test coverage detected