MaxSrcResolution returns the maximum allowed source image resolution
(o *options.Options)
| 23 | |
| 24 | // MaxSrcResolution returns the maximum allowed source image resolution |
| 25 | func (s *Checker) MaxSrcResolution(o *options.Options) int { |
| 26 | return o.GetInt(keys.MaxSrcResolution, s.config.MaxSrcResolution) |
| 27 | } |
| 28 | |
| 29 | // MaxSrcFileSize returns the maximum allowed source file size |
| 30 | func (s *Checker) MaxSrcFileSize(o *options.Options) int { |