Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> devel >> golang-github-nfnt-resize-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: golang-github-nfnt-resize  ]

Paket: golang-github-nfnt-resize-dev (0.0~git20160724.0.891127d-4)

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.

Andere Pakete mit Bezug zu golang-github-nfnt-resize-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: golang-go
    Go programming language compiler, linker, compiled stdlib

golang-github-nfnt-resize-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,2 kB89 kB [Liste der Dateien]