Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-nfnt-resize-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-nfnt-resize  ]

套件: golang-github-nfnt-resize-dev (0.0~git20180221.83c6a99-3)

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.

下載 golang-github-nfnt-resize-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.9 kB92 kB [文件列表]