imageutil

package
v0.3.4-alpha Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinPosterWidth = 800

	MinPosterHeight = 1000
)

Variables

This section is empty.

Functions

func GetOptimalPosterURL

func GetOptimalPosterURL(coverURL string, client *http.Client) (posterURL string, shouldCrop bool)

GetOptimalPosterURL attempts to find the highest quality poster URL It tries the awsimgsrc URL first, checks its resolution, and falls back to cover if needed Returns shouldCrop=false always since backend handles all cropping via downloadTempPoster

Types

This section is empty.

Jump to

Keyboard shortcuts

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