finalizePipeline constructs the finalization pipeline. This pipeline is applied before saving the image.
()
| 39 | // finalizePipeline constructs the finalization pipeline. |
| 40 | // This pipeline is applied before saving the image. |
| 41 | func (p *Processor) finalizePipeline() Pipeline { |
| 42 | return Pipeline{ |
| 43 | p.colorspaceToResult, |
| 44 | p.stripMetadata, |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | // Result holds the result of image processing. |
| 49 | type Result struct { |