Documentation
¶
Overview ¶
Package imageutil contains code shared by image-related packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinearToSRGB16 ¶
Fast 16-bit linear to 16-bit sRGB conversion. Returns the correctly rounded result for 74.6% of inputs, error within -58 and +58 (from 8192, within -1 and +1).
func LinearToSRGB8 ¶
Fast 16-bit linear to 8-bit sRGB conversion. Returns the correctly rounded result for 99.8% of inputs, error within -1 and +1.
func NYCbCrAUpsample ¶
NYCbCrAUpsample upsamples a chroma subsampled NYCbCrA image. The returned image has YCbCrSubsampleRatio444.
func SRGB16ToLinear ¶
Fast 16-bit sRGB to 16-bit linear conversion. Returns the correctly rounded result for 78.5% of inputs, error within -1 and +1.
func SRGB8ToLinear ¶
Fast 8-bit sRGB to 16-bit linear conversion. Returns the correctly rounded result.
Types ¶
This section is empty.