Versions in this module Expand all Collapse all v0 v0.0.1 Feb 16, 2020 Changes in this version + func RegisterEXIFDecoder(d func(context.Context, []byte, ...image.ReadOption) (*EXIF, error)) + func RegisterEXIFEncoder(e func(context.Context, *EXIF, ...image.WriteOption) ([]byte, error)) + func RegisterICCDecoder(d func(context.Context, []byte, ...image.ReadOption) (*ICC, error)) + func RegisterICCEncoder(e func(context.Context, *ICC, ...image.WriteOption) ([]byte, error)) + func RegisterXMPDecoder(d func(context.Context, []byte, ...image.ReadOption) (*XMP, error)) + func RegisterXMPEncoder(e func(context.Context, *XMP, ...image.WriteOption) ([]byte, error)) + type EXIF struct + Creator string + func DecodeEXIF(ctx context.Context, b []byte, opt ...image.ReadOption) (*EXIF, error) + func (x *EXIF) Encode(ctx context.Context, opt ...image.WriteOption) ([]byte, error) + type ICC struct + CMMFlags uint32 + CMMTypeSignature uint32 + ColorSpace uint32 + DeviceAttributes uint32 + DeviceManufacturer uint32 + DeviceModel uint32 + PrimaryPlatformSignature uint32 + ProfileClassSignature uint32 + ProfileConnectionSpace uint32 + ProfileConnectionSpaceIlluminant XYZNumber + ProfileCreationTime time.Time + ProfileCreatorSignature uint32 + ProfileVersion ProfileVersion + RenderingIntent uint32 + func DecodeICC(ctx context.Context, b []byte, opt ...image.ReadOption) (*ICC, error) + func (x *ICC) Encode(ctx context.Context, opt ...image.WriteOption) ([]byte, error) + type ProfileVersion struct + Major uint8 + Minor uint8 + type Response16 struct + Interval uint16 + Measurement S15Fixed16 + type S15Fixed16 struct + Fraction uint16 + Integer int16 + type U16Fixed16 struct + Fraction uint16 + Integer uint16 + type U8Fixed8 struct + Fraction uint8 + Integer uint8 + type XMP struct + func DecodeXMP(ctx context.Context, b []byte, opt ...image.ReadOption) (*XMP, error) + func (x *XMP) Encode(ctx context.Context, opt ...image.WriteOption) ([]byte, error) + type XYZNumber struct + X S15Fixed16 + Y S15Fixed16 + Z S15Fixed16