Skip to content

Commit

Permalink
Add an ignore to a large file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Feb 8, 2025
1 parent a2c97bb commit 4107296
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ var blur = 1.0
// the aspect ratio is that of the originating image.
// The resizing algorithm uses channels for parallel computation.
// If the input image has width or height of 0, it is returned unchanged.
//
//gocyclo:ignore
func Resize(width, height uint, img image.Image, interp InterpolationFunction) image.Image {
scaleX, scaleY := calcFactors(width, height, float64(img.Bounds().Dx()), float64(img.Bounds().Dy()))
if width == 0 {
Expand Down

0 comments on commit 4107296

Please sign in to comment.