srgb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 7 Imported by: 3

Documentation

Overview

Package srgb handles sRGB colors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeTone

func DecodeTone(img image.Image) *fp16.NRGBAh

DecodeTone decodes an sRGB color encoded image to a linear color image.

func EncodeTone

func EncodeTone(img *fp16.NRGBAh) *image.NRGBA

EncodeTone encodes a linear color image to an 8bit depth sRGB color encoded image.

func EncodeTone64

func EncodeTone64(img *fp16.NRGBAh) *image.NRGBA64

EncodeTone64 encodes a linear color image to a 16bit depth sRGB color encoded image.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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