(inFormat imagetype.Type)
| 127 | } |
| 128 | |
| 129 | func (po ProcessingOptions) ShouldSkipFormatProcessing(inFormat imagetype.Type) bool { |
| 130 | return slices.Contains(po.config.SkipProcessingFormats, inFormat) || |
| 131 | options.SliceContains(po.Main(), keys.SkipProcessing, inFormat) |
| 132 | } |
| 133 | |
| 134 | func (po ProcessingOptions) ShouldFlatten() bool { |
| 135 | return po.Has(keys.Background) |
no test coverage detected