resizex

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 2 Imported by: 3

Documentation

Overview

Package resizex provides image resizing via Lanczos3 resampling. Package resizex 基于 Lanczos3 重采样提供图像缩放能力。

Created by xuzhuoxi on 2019-05-31. @author xuzhuoxi

Capabilities:

  • ResizeImage scales source image.Image to the given width and height

主要职责:

  • ResizeImage 将源 image.Image 缩放到指定宽高

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResizeImage

func ResizeImage(source image.Image, width, height uint) (img image.Image, err error)

ResizeImage scales source to width×height using Lanczos3 resampling. ResizeImage 使用 Lanczos3 重采样将 source 缩放到 width×height。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址