requests

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodeConfig

type DecodeConfig struct {
	Data *[]byte
}

type DecodeImage

type DecodeImage struct {
	Data *[]byte
}

type RenderFile

type RenderFile struct {
	Data         *[]byte                // The file data.
	OutputFormat RenderFileOutputFormat // The format to output the image as
	MaxFileSize  int64                  // The maximum filesize, if jpg is chosen as output format, it will try to compress it until it fits
}

type RenderFileOutputFormat

type RenderFileOutputFormat string // The file format to render output as.
const (
	RenderFileOutputFormatJPG RenderFileOutputFormat = "jpg" // Render the file as a JPEG file.
	RenderFileOutputFormatPNG RenderFileOutputFormat = "png" // Render the file as a PNG file.
)

Jump to

Keyboard shortcuts

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