Versions in this module Expand all Collapse all v0 v0.2.0 Apr 15, 2024 v0.1.0 Oct 27, 2023 Changes in this version + type Class Signature + const ClassAbstract + const ClassColorSpace + const ClassDisplay + const ClassInput + const ClassLink + const ClassNamedColor + const ClassOutput + func (class Class) String() string + type ColorSpace Signature + const ColorSpace10CLR + const ColorSpace11CLR + const ColorSpace12CLR + const ColorSpace13CLR + const ColorSpace14CLR + const ColorSpace15CLR + const ColorSpace2CLR + const ColorSpace3CLR + const ColorSpace4CLR + const ColorSpace5CLR + const ColorSpace6CLR + const ColorSpace7CLR + const ColorSpace8CLR + const ColorSpace9CLR + const ColorSpaceCMY + const ColorSpaceCMYK + const ColorSpaceGray + const ColorSpaceHLS + const ColorSpaceHSV + const ColorSpaceLab + const ColorSpaceLuv + const ColorSpaceRGB + const ColorSpaceXYZ + const ColorSpaceYCbCr + const ColorSpaceYxy + func (cs ColorSpace) String() string + type Curve interface + DecodeTone func(x float64) float64 + EncodeTone func(x float64) float64 + type DateTimeNumber struct + Day uint16 + Hour uint16 + Minute uint16 + Month uint16 + Second uint16 + Year uint16 + func (dt DateTimeNumber) Time() time.Time + type Platform Signature + const PlatformApple + const PlatformMicrosoft + const PlatformSGI + const PlatformSun + func (p Platform) String() string + type Profile struct + Tags []TagEntry + func Decode(r io.Reader) (*Profile, error) + func (p *Profile) DecodeTone(img image.Image) *fp16.NRGBAh + func (p *Profile) Encode(w io.Writer) error + func (p *Profile) EncodeTone(img *fp16.NRGBAh) *image.NRGBA + func (p *Profile) EncodeTone16(img *fp16.NRGBAh) *image.NRGBA64 + func (p *Profile) Get(tag Tag) TagContent + type ProfileHeader struct + BiSpectralPCSRange [6]byte + CMMType Signature + Class Class + ColorSpace ColorSpace + DateTime DateTimeNumber + DeviceAttributes uint64 + DeviceModel Signature + Flags uint32 + MCSSignature uint32 + Magic Signature + Manufacturer Signature + Platform Platform + ProfileConnectionSpace ColorSpace + ProfileCreator uint32 + ProfileID [16]uint8 + RenderingIntent uint32 + Reserved uint32 + Size uint32 + SpectralPCS uint32 + SpectralPCSRange [6]byte + SubClass uint32 + Version Version + XYZ XYZNumber + type S15Fixed16Number int32 + func S15Fixed16NumberFromFloat64(f float64) S15Fixed16Number + func (n S15Fixed16Number) Float64() float64 + func (n S15Fixed16Number) String() string + type Signature uint32 + const ICCMagicNumber + func (s Signature) String() string + type Tag uint32 + const TagAToB0 + const TagAToB1 + const TagAToB2 + const TagAToB3 + const TagAToM0 + const TagBRDFAToB0 + const TagBRDFAToB1 + const TagBRDFAToB2 + const TagBRDFAToB3 + const TagBRDFBToA0 + const TagBRDFBToA1 + const TagBRDFBToA2 + const TagBRDFBToA3 + const TagBRDFBToD0 + const TagBRDFBToD1 + const TagBRDFBToD2 + const TagBRDFBToD3 + const TagBRDFColormetricParameter0 + const TagBRDFColormetricParameter1 + const TagBRDFColormetricParameter2 + const TagBRDFColormetricParameter3 + const TagBRDFDToB0 + const TagBRDFDToB1 + const TagBRDFDToB2 + const TagBRDFDToB3 + const TagBRDFMToB0 + const TagBRDFMToB1 + const TagBRDFMToB2 + const TagBRDFMToB3 + const TagBRDFMToS0 + const TagBRDFMToS1 + const TagBRDFMToS2 + const TagBRDFMToS3 + const TagBRDFSpectralParameter0 + const TagBRDFSpectralParameter1 + const TagBRDFSpectralParameter2 + const TagBRDFSpectralParameter3 + const TagBToA0 + const TagBToA1 + const TagBToA2 + const TagBToA3 + const TagBToD0 + const TagBToD1 + const TagBToD2 + const TagBToD3 + const TagBlueMatrixColumn + const TagBlueTRC + const TagCICP + const TagCXF + const TagCalibrationDateTime + const TagCeptAmbientIlluminanceMbr + const TagCeptAmbientWhitePointChromaticityMbr + const TagCeptAmbientWhitePointLuminanceMbr + const TagCeptBitDepthMbr + const TagCeptBluePrimaryXYZMbr + const TagCeptEncodingRangeMbr + const TagCeptGreenPrimaryXYZMbr + const TagCeptImageBackgroundMbr + const TagCeptImageStateMbr + const TagCeptLumaChromaMatrixMbr + const TagCeptMediumBlackPointChromaticityMbr + const TagCeptMediumBlackPointLuminanceMbr + const TagCeptMediumWhitePointChromaticityMbr + const TagCeptMediumWhitePointLuminanceMbr + const TagCeptRedPrimaryXYZMbr + const TagCeptTransferFunctionMbr + const TagCeptValidRelativeLuminanceRangeMbr + const TagCeptViewingFlareMbr + const TagCeptViewingSurroundMbr + const TagCeptWhitePointChromaticityMbr + const TagCeptWhitePointLuminanceMbr + const TagCharTarget + const TagChromaticAdaptation + const TagColorEncodingParams + const TagColorSpaceName + const TagColorantInfo + const TagColorantInfoOut + const TagColorantOrder + const TagColorantOrderOut + const TagColorantTable + const TagColorantTableOut + const TagColorimetricIntentImageState + const TagCopyright + const TagCustomToStandardPcc + const TagDToB0 + const TagDToB1 + const TagDToB2 + const TagDToB3 + const TagDeviceMfgDesc + const TagDeviceModelDesc + const TagDirectionalAToB0 + const TagDirectionalAToB1 + const TagDirectionalAToB2 + const TagDirectionalAToB3 + const TagDirectionalBToA0 + const TagDirectionalBToA1 + const TagDirectionalBToA2 + const TagDirectionalBToA3 + const TagDirectionalBToD0 + const TagDirectionalBToD1 + const TagDirectionalBToD2 + const TagDirectionalBToD3 + const TagDirectionalDToB0 + const TagDirectionalDToB1 + const TagDirectionalDToB2 + const TagDirectionalDToB3 + const TagGamut + const TagGamutBoundaryDescription0 + const TagGamutBoundaryDescription1 + const TagGamutBoundaryDescription2 + const TagGamutBoundaryDescription3 + const TagGrayTRC + const TagGreenMatrixColumn + const TagGreenTRC + const TagLuminance + const TagMToA0 + const TagMToB0 + const TagMToB1 + const TagMToB2 + const TagMToB3 + const TagMToS0 + const TagMToS1 + const TagMToS2 + const TagMToS3 + const TagMeasurement + const TagMeasurementInfo + const TagMeasurementInputInfo + const TagMediaWhitePoint + const TagMetadata + const TagMultiplexDefaultValues + const TagMultiplexTypeArray + const TagNamedColor + const TagNamedColor2 + const TagOutputResponse + const TagPerceptualRenderingIntentGamut + const TagPreview0 + const TagPreview1 + const TagPreview2 + const TagProfileDescription + const TagProfileSequenceDesc + const TagProfileSequenceIdentifier + const TagProfileSequenceInformation + const TagRedMatrixColumn + const TagRedTRC + const TagReferenceName + const TagSaturationRenderingIntentGamut + const TagSpectralViewingConditions + const TagSpectralWhitePoint + const TagStandardToCustomPcc + const TagSurfaceMap + const TagTechnology + const TagViewingCondDesc + const TagViewingConditions + type TagContent interface + TagType func() TagType + type TagContentCurve struct + Data []uint16 + func (t *TagContentCurve) DecodeTone(x float64) float64 + func (t *TagContentCurve) EncodeTone(y float64) float64 + func (t *TagContentCurve) MarshalBinary() ([]byte, error) + func (t *TagContentCurve) TagType() TagType + func (t *TagContentCurve) UnmarshalBinary(data []byte) error + type TagContentParametricCurve struct + FunctionType uint16 + Params [8]S15Fixed16Number + func (t *TagContentParametricCurve) DecodeTone(x float64) float64 + func (t *TagContentParametricCurve) EncodeTone(y float64) float64 + func (t *TagContentParametricCurve) MarshalBinary() ([]byte, error) + func (t *TagContentParametricCurve) TagType() TagType + func (t *TagContentParametricCurve) UnmarshalBinary(data []byte) error + type TagContentRaw struct + Data []byte + func (t *TagContentRaw) MarshalBinary() ([]byte, error) + func (t *TagContentRaw) TagType() TagType + func (t *TagContentRaw) UnmarshalBinary(data []byte) error + type TagEntry struct + Tag Tag + TagContent TagContent + type TagType uint32 + const TagTypeColorantOrder + const TagTypeCurve + const TagTypeDataType + const TagTypeDateTime + const TagTypeDict + const TagTypeEmbeddedHeightImage + const TagTypeEmbeddedNormalImage + const TagTypeFloat16Array + const TagTypeFloat32Array + const TagTypeFloat64Array + const TagTypeLutAtoB + const TagTypeLutBtoA + const TagTypeMeasurement + const TagTypeMultiLocalizedUnicode + const TagTypeMultiProcessElements + const TagTypeParametricCurve + const TagTypeS15Fixed16Array + const TagTypeSignature + const TagTypeSparseMatrixArray + const TagTypeSpectralViewingConditions + const TagTypeTagArrayType + const TagTypeTagStruct + const TagTypeU16Fixed16Array + const TagTypeUTF16 + const TagTypeUTF8 + const TagTypeUTF8Zip + const TagTypeUint16Array + const TagTypeUint32Array + const TagTypeUint64Array + const TagTypeUint8Array + const TagTypeXYZ + const TagTypeZipXML + func (t TagType) String() string + type U8Fixed8Number uint16 + func (n U8Fixed8Number) Float64() float64 + type Version uint32 + func (v Version) BugFix() int + func (v Version) Major() int + func (v Version) Minor() int + func (v Version) String() string + type XYZNumber struct + X S15Fixed16Number + Y S15Fixed16Number + Z S15Fixed16Number