Source: golang-github-nfnt-resize Section: devel Priority: extra Maintainer: Debian Go Packaging Team Uploaders: Alexandre Viau Build-Depends: debhelper (>= 9), dh-golang, golang-go Standards-Version: 3.9.8 Homepage: https://github.com/nfnt/resize Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-nfnt-resize.git Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-nfnt-resize.git XS-Go-Import-Path: github.com/nfnt/resize Package: golang-github-nfnt-resize-dev Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, golang-go Description: Pure golang image resizing The resize package provides 2 functions: - resize.Resize creates a scaled image with new dimensions (width, height) using the interpolation function interp. If either width or height is set to 0, it will be set to an aspect ratio preserving value. - resize.Thumbnail downscales an image preserving its aspect ratio to the maximum dimensions (maxWidth, maxHeight). It will return the original image if original sizes are smaller than the provided dimensions.