[ 原始碼: golang-github-nfnt-resize ]
套件: golang-github-nfnt-resize-dev (0.0~git20180221.83c6a99-3)
golang-github-nfnt-resize-dev 的相關超連結
Trisquel 的資源:
下載原始碼套件 golang-github-nfnt-resize:
- [golang-github-nfnt-resize_0.0~git20180221.83c6a99-3.dsc]
- [golang-github-nfnt-resize_0.0~git20180221.83c6a99.orig.tar.xz]
- [golang-github-nfnt-resize_0.0~git20180221.83c6a99-3.debian.tar.xz]
維護者:
Original Maintainers:
- Debian Go Packaging Team (郵件存檔)
- Alexandre Viau
外部的資源:
- 主頁 [github.com]
相似套件:
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.