manipulate

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

taken from https://golangcode.com/check-if-a-file-exists/ fileExists checks if a file exists and is not a directory before we try using it to prevent further errors.

func GetFileContentType

func GetFileContentType(file *os.File) (string, error)

func Resize

func Resize(conf *config.Config, objectID string, width int, height int) (*os.File, error)

func ResizeIfNeeded

func ResizeIfNeeded(conf *config.Config, objectID string, parameters url.Values) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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