MCPcopy Index your code
hub / github.com/cshum/imagor / Processor

Struct Processor

processor/vipsprocessor/processor.go:29–65  ·  view source on GitHub ↗

Processor implements imagor.Processor interface

Source from the content-addressed store, hash-verified

27
28// Processor implements imagor.Processor interface
29type Processor struct {
30 Filters FilterMap
31 FallbackFunc FallbackFunc
32 Detectors []imagor.Detector
33 DetectorProbeSize int
34 DisableBlur bool
35 DisableFilters []string
36 MaxFilterOps int
37 Logger *zap.Logger
38 Concurrency int
39 MaxCacheFiles int
40 MaxCacheMem int
41 MaxCacheSize int
42 MaxWidth int
43 MaxHeight int
44 MaxResolution int
45 MaxAnimationFrames int
46 MozJPEG bool
47 StripColorProfile bool
48 StripMetadata bool
49 AvifSpeed int
50 VectorDisableTargets int64
51 Unlimited bool
52 Debug bool
53
54 // Image cache settings
55 CacheSize int64
56 CacheMaxWidth int
57 CacheMaxHeight int
58 CacheTTL time.Duration
59 CacheFormat imagor.BlobType // BlobTypeMemory (default, raw pixels), BlobTypeWEBP, BlobTypePNG
60
61 disableFilters map[string]bool
62 cache *imageCache
63 cacheSF singleflight.Group
64 hasDcrawload bool
65}
66
67// NewProcessor create Processor
68func NewProcessor(options ...Option) *Processor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected