Documentation ¶
Overview ¶
Package imageicc reads ICC color profiles embedded in image files.
Index ¶
- func LoadICCfromGIF(in io.ReadSeeker) (iccProfile []byte, err error)
- func LoadICCfromJPG(in io.ReadSeeker) (iccProfile []byte, err error)
- func LoadICCfromPNG(in io.ReadSeeker) (iccProfile []byte, err error)
- func LoadICCfromPNGWithName(in io.ReadSeeker) (iccProfile []byte, profileName string, err error)
- func LoadICCfromTIFF(in io.ReadSeeker) (iccProfile []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadICCfromGIF ¶
func LoadICCfromGIF(in io.ReadSeeker) (iccProfile []byte, err error)
Read ICC profile embedded in a PNG file. If there is no ICC profile then nil data and no error is returned.
func LoadICCfromJPG ¶
func LoadICCfromJPG(in io.ReadSeeker) (iccProfile []byte, err error)
Read ICC profile embedded in a JPG file. If there is no ICC profile then nil data and no error is returned.
func LoadICCfromPNG ¶
func LoadICCfromPNG(in io.ReadSeeker) (iccProfile []byte, err error)
Read ICC profile embedded in a PNG file. profileName is a string included in the PNG along with the ICC profile. If there is no ICC profile then nil data and no error is returned.
func LoadICCfromPNGWithName ¶
func LoadICCfromPNGWithName(in io.ReadSeeker) (iccProfile []byte, profileName string, err error)
Read ICC profile and profile name embedded in a PNG file. profileName is a string included in the PNG along with the ICC profile. If there is no ICC profile then nil data and no error is returned.
func LoadICCfromTIFF ¶
func LoadICCfromTIFF(in io.ReadSeeker) (iccProfile []byte, err error)
Parse TIFF tags and find an embedded ICC profile
Types ¶
This section is empty.