gamma

package
v0.0.0-...-b98e79d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 3 Imported by: 5

Documentation

Overview

Package gamma provides a imageserver/http.Parser implementation for imageserver/image/gamma.CorrectionProcessor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CorrectionParser

type CorrectionParser struct{}

CorrectionParser is a imageserver/http.Parser implementation for imageserver/image/gamma.CorrectionProcessor.

It takes the boolean "gamma_correction" param from the HTTP URL query.

func (*CorrectionParser) Parse

func (parser *CorrectionParser) Parse(req *http.Request, params imageserver.Params) error

Parse implements imageserver/http.Parser.

func (*CorrectionParser) Resolve

func (parser *CorrectionParser) Resolve(param string) string

Resolve implements imageserver/http.Parser.

Jump to

Keyboard shortcuts

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