Skip to content

Commit

Permalink
Minor import cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jan 6, 2025
1 parent 8496712 commit a6ec9c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ THIS SOFTWARE.

package resize

import (
"math"
)
import "math"

func nearest(in float64) float64 {
if in >= -0.5 && in < 0.5 {
Expand Down
4 changes: 1 addition & 3 deletions thumbnail.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ THIS SOFTWARE.

package resize

import (
"image"
)
import "image"

// Thumbnail will downscale provided image to max width and height preserving
// original aspect ratio and using the interpolation function interp.
Expand Down

0 comments on commit a6ec9c0

Please sign in to comment.