Documentation ¶
Index ¶
- Variables
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (_cb.FileInfo, error)
- func AssetNames() []string
- func MustAsset(name string) []byte
- func NewCmykIsoCoatedV2OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)
- func NewISOCoatedV2Gray1CBasOutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)
- func NewSRGBv2OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)
- func NewSRGBv4OutputIntent(subtype _ac.PdfOutputIntentType) (*_ac.PdfOutputIntent, error)
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
- type ColorSpace
- type DeviceClass
- type ProfileHeader
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 AssetNames ¶
func AssetNames() []string
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 RestoreAssets ¶
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)
Click to show internal directories.
Click to hide internal directories.