diff --git a/thumbnailing/u/dimensions.go b/thumbnailing/u/dimensions.go index 1b3665fa19b0fde285805b2829568c029f04fc79..0b0ac6ff59d7cbe27a4a8fd6e53c6708394b2159 100644 --- a/thumbnailing/u/dimensions.go +++ b/thumbnailing/u/dimensions.go @@ -1,9 +1,6 @@ package u func AdjustProperties(srcWidth int, srcHeight int, desiredWidth int, desiredHeight int, wantAnimated bool, canAnimate bool, method string) (bool, int, int, bool, string) { - //srcWidth := img.Bounds().Max.X - //srcHeight := img.Bounds().Max.Y - aspectRatio := float32(srcHeight) / float32(srcWidth) targetAspectRatio := float32(desiredHeight) / float32(desiredWidth) if aspectRatio == targetAspectRatio {