[ ソース: golang-github-nfnt-resize ]
パッケージ: golang-github-nfnt-resize-dev (0.0~git20180221.83c6a99-3)
golang-github-nfnt-resize-dev に関するリンク
Debian の資源:
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]
メンテナ:
外部の資源:
- ホームページ [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.