colorprofile

package
v3.0.0-...-55e877b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUndefinedHeaderDeviceClass = _e.New("\u0075\u006ed\u0065\u0066\u0069\u006e\u0065\u0064\u0020\u0068\u0065\u0061\u0064\u0065\u0072\u0020\u0064\u0065\u0076\u0069\u0063\u0065\u0020\u0063la\u0073\u0073")
	ErrUndefinedHeaderColorSpace  = _e.New("\u0075\u006e\u0064\u0065f\u0069\u006e\u0065\u0064\u0020\u0068\u0065\u0061\u0064\u0065r\u0020c\u006f\u006c\u006f\u0072\u0020\u0073\u0070a\u0063\u0065")
)

Functions

func Asset

func Asset(name string) ([]byte, error)

func AssetDir

func AssetDir(name string) ([]string, error)

func AssetInfo

func AssetInfo(name string) (_cb.FileInfo, error)

func AssetNames

func AssetNames() []string

func MustAsset

func MustAsset(name string) []byte

func NewCmykIsoCoatedV2OutputIntent

func NewCmykIsoCoatedV2OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)

func NewISOCoatedV2Gray1CBasOutputIntent

func NewISOCoatedV2Gray1CBasOutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)

func NewSRGBv2OutputIntent

func NewSRGBv2OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)

func NewSRGBv4OutputIntent

func NewSRGBv4OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)

func RestoreAsset

func RestoreAsset(dir, name string) error

func RestoreAssets

func RestoreAssets(dir, name string) error

Types

type ColorSpace

type ColorSpace int
const (
	ColorSpaceUndefined ColorSpace = iota
	ColorSpaceXYZ
	ColorSpaceLAB
	ColorSpaceLUV
	ColorSpaceYCBR
	ColorSpaceYXY
	ColorSpaceRGB
	ColorSpaceGRAY
	ColorSpaceHSV
	ColorSpaceHLS
	ColorSpaceCMYK
	ColorSpaceCMY
	ColorSpace2CLR
	ColorSpace3CLR
	ColorSpace4CLR
	ColorSpace5CLR
	ColorSpace6CLR
	ColorSpace7CLR
	ColorSpace8CLR
	ColorSpace9CLR
	ColorSpaceACLR
	ColorSpaceBCLR
	ColorSpaceCCLR
	ColorSpaceDCLR
	ColorSpaceECLR
	ColorSpaceFCLR
)

func (ColorSpace) String

func (_abc ColorSpace) String() string

type DeviceClass

type DeviceClass int
const (
	DeviceClassUndefined DeviceClass = iota
	DeviceClassSCNR
	DeviceClassMNTR
	DeviceClassPRTR
	DeviceClassLINK
	DeviceClassSPAC
	DeviceClassABST
	DeviceClassNMCL
)

func (DeviceClass) String

func (_ecg DeviceClass) String() string

type ProfileHeader

type ProfileHeader struct {
	Version     string
	DeviceClass DeviceClass
	ColorSpace  ColorSpace
}

func ParseHeader

func ParseHeader(data []byte) (ProfileHeader, error)

Jump to

Keyboard shortcuts

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