imaging

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package imaging provides image processing utilities for generated applications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateThumbnail

func GenerateThumbnail(src io.Reader, maxWidth, maxHeight int) (io.Reader, error)

GenerateThumbnail reads an image from src, resizes it to fit within maxWidth x maxHeight (preserving aspect ratio), and returns the result as a JPEG-encoded reader.

Types

This section is empty.

Jump to

Keyboard shortcuts

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