tiny_thumb

package
v0.0.0-...-386aa89 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debug

type Debug struct {
	Parameters   TypeParameters
	Final        []byte
	Height       uint16
	Width        uint16
	PayloadLen   int
	MaxDimension int
}

type Result

type Result struct {
	Debug   Debug
	Payload []byte
}

func TinyThumb

func TinyThumb(b []byte, typeID byte, maxDimension int, checkParametersMatch bool) (*Result, error)

type TypeParameters

type TypeParameters struct {
	Quality         int
	Head            []byte
	DimensionOffset int
}

Jump to

Keyboard shortcuts

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