(ctx context.Context, o *options.Options, args []string)
| 125 | } |
| 126 | |
| 127 | func (p *Parser) applyGravityOption(ctx context.Context, o *options.Options, args []string) error { |
| 128 | return p.parseGravity(ctx, o, keys.Gravity, processing.CropGravityTypes, args...) |
| 129 | } |
| 130 | |
| 131 | func (p *Parser) applyCropOption(ctx context.Context, o *options.Options, args []string) error { |
| 132 | if err := p.parsePositiveFloat(ctx, o, keys.CropWidth, args[0]); err != nil { |
no test coverage detected