imageprocessor

package
v0.0.0-...-b6fdb97 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressImageAsFile

func CompressImageAsFile(conv interface{}, quality int) (byt []byte, err error)

Image Compression Output As a File

func CompressImageAsURL

func CompressImageAsURL(conv interface{}, quality int) (string, error)

Image Compression Output As a Link (AWS S3 link). It is valid upto 15 min.

func CropImageAsFile

func CropImageAsFile(conv interface{}, width int, height int) (byt []byte, err error)

Image Crop Output As a File

func CropImageAsURL

func CropImageAsURL(conv interface{}, width int, height int) (string, error)

Image Crop Output As a Link (AWS S3 link). It is valid upto 15 min.

func ResizeImageAsFile

func ResizeImageAsFile(conv interface{}, width int, height int) (byt []byte, err error)

Image Crop Output As a File

func ResizeImageAsURL

func ResizeImageAsURL(conv interface{}, width int, height int) (string, error)

Image Crop Output As a Link (AWS S3 link). It is valid upto 15 min.

func WatermarkImageAsFile

func WatermarkImageAsFile(watermark h.Watermark, width int, height int) (byt []byte, err error)

Image Crop Output As a File

func WatermarkImageAsURL

func WatermarkImageAsURL(watermark h.Watermark, width int, height int) (string, error)

Image Crop Output As a Link (AWS S3 link). It is valid upto 15 min.

Types

This section is empty.

Jump to

Keyboard shortcuts

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