engine

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageEngine

type ImageEngine struct {
	// contains filtered or unexported fields
}

ImageEngine is main struct that is responding for image processing

func NewImageEngine

func NewImageEngine(res *response.Response) *ImageEngine

NewImageEngine create instance of ImageEngine with source file that should be processed

func (*ImageEngine) Process

func (c *ImageEngine) Process(obj *object.FileObject, trans []transforms.Transforms) (*response.Response, error)

Process main ImageEngine function that create new image (stored in response object)

Jump to

Keyboard shortcuts

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