MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / mainPipeline

Method mainPipeline

processing/processing.go:19–37  ·  view source on GitHub ↗

mainPipeline constructs the main image processing pipeline. This pipeline is applied to each image frame.

()

Source from the content-addressed store, hash-verified

17// mainPipeline constructs the main image processing pipeline.
18// This pipeline is applied to each image frame.
19func (p *Processor) mainPipeline() Pipeline {
20 return Pipeline{
21 p.vectorGuardScale,
22 p.trim,
23 p.scaleOnLoad,
24 p.colorspaceToProcessing,
25 p.crop,
26 p.scale,
27 p.rotateAndFlip,
28 p.cropToResult,
29 p.applyFilters,
30 p.extend,
31 p.extendAspectRatio,
32 p.padding,
33 p.fixSize,
34 p.flatten,
35 p.watermark,
36 }
37}
38
39// finalizePipeline constructs the finalization pipeline.
40// This pipeline is applied before saving the image.

Callers 2

transformImageMethod · 0.95
transformAnimatedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected