png

package
v0.0.0-...-f05e200 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2013 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package png provides API definitions for accessing libpng14-14.dll.

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessVersionNumber func() Uint32

	SetSigbytes func(
		pngPtr *Struct,
		numbytes int)

	SigCmp func(
		sig *byte,
		start SizeT,
		numToCheck SizeT) int

	CreateReadStruct func(
		userVer *T.Char,
		errorPtr *T.Void,
		errorFn ErrorPtr,
		warnFn ErrorPtr) *Struct

	CreateWriteStruct func(
		userVer *T.Char,
		errorPtr *T.Void,
		errorFn ErrorPtr,
		warnFn ErrorPtr) *Struct

	GetCompressionBufferSize func(
		pngPtr *Struct) SizeT

	SetCompressionBufferSize func(
		pngPtr *Struct,
		size SizeT)

	SetLongjmpFn func(
		pngPtr *Struct,
		longjmpFn LongjmpPtr,
		JmpBufSize T.SizeT) *JmpBuf

	ResetZstream func(
		pngPtr *Struct) int

	CreateReadStruct2 func(
		userVer *T.Char,
		errorPtr *T.Void,
		errorFn ErrorPtr,
		warnFn ErrorPtr,
		memPtr *T.Void,
		mallocFn MallocPtr,
		freeFn FreePtr) *Struct

	CreateWriteStruct2 func(
		userVer *T.Char,
		errorPtr *T.Void,
		errorFn ErrorPtr,
		warnFn ErrorPtr,
		memPtr *T.Void,
		mallocFn MallocPtr,
		freeFn FreePtr) *Struct

	WriteSig func(
		pngPtr *Struct)

	WriteChunk func(
		pngPtr *Struct,
		chunkName *byte,
		data *byte,
		length SizeT)

	WriteChunkStart func(
		pngPtr *Struct,
		chunkName *byte,
		length Uint32)

	WriteChunkData func(
		pngPtr *Struct,
		data *byte,
		length SizeT)

	WriteChunkEnd func(
		pngPtr *Struct)

	CreateInfoStruct func(
		pngPtr *Struct) *Info

	InfoInit3 func(
		infoPtr **Info,
		pngInfoStructSize SizeT)

	WriteInfoBeforePLTE func(
		pngPtr *Struct,
		infoPtr *Info)

	WriteInfo func(
		pngPtr *Struct,
		infoPtr *Info)

	ReadInfo func(
		pngPtr *Struct,
		infoPtr *Info)

	ConvertToRfc1123 func(
		pngPtr *Struct,
		ptime *Time) *T.Char

	ConvertFromStructTm func(
		ptime *Time,
		ttime *T.Tm)

	ConvertFromTimeT func(
		ptime *Time,
		ttime T.TimeT)

	SetExpand func(
		pngPtr *Struct)

	SetExpandGray124To8 func(
		pngPtr *Struct)

	SetPaletteToRgb func(
		pngPtr *Struct)

	SetTRNSToAlpha func(
		pngPtr *Struct)

	SetBgr func(
		pngPtr *Struct)

	SetGrayToRgb func(
		pngPtr *Struct)

	SetRgbToGray func(
		pngPtr *Struct,
		errorAction int,
		red,
		green float64)

	SetRgbToGrayFixed func(
		pngPtr *Struct,
		errorAction int,
		red, green FixedPoint)

	GetRgbToGrayStatus func(
		pngPtr *Struct) byte

	BuildGrayscalePalette func(
		bitDepth int,
		palette *Color)

	SetStripAlpha func(
		pngPtr *Struct)

	SetSwapAlpha func(
		pngPtr *Struct)

	SetInvertAlpha func(
		pngPtr *Struct)

	SetFiller func(
		pngPtr *Struct,
		filler Uint32,
		flags int)

	SetAddAlpha func(
		pngPtr *Struct,
		filler Uint32,
		flags int)

	SetSwap func(
		pngPtr *Struct)

	SetPacking func(
		pngPtr *Struct)

	SetPackswap func(
		pngPtr *Struct)

	SetShift func(
		pngPtr *Struct,
		trueBits *Color8)

	SetInterlaceHandling func(
		pngPtr *Struct) int

	SetInvertMono func(
		pngPtr *Struct)

	SetBackground func(
		pngPtr *Struct,
		backgroundColor *Color16,
		backgroundGammaCode int,
		needExpand int,
		backgroundGamma float64)

	SetStrip16 func(
		pngPtr *Struct)

	SetQuantize func(
		pngPtr *Struct,
		palette *Color,
		numPalette int,
		maximumColors int,
		histogram *uint16,
		fullQuantize int)

	SetGamma func(
		pngPtr *Struct,
		screenGamma float64,
		defaultFileGamma float64)

	SetFlush func(
		pngPtr *Struct,
		nrows int)

	WriteFlush func(
		pngPtr *Struct)

	StartReadImage func(
		pngPtr *Struct)

	ReadUpdateInfo func(
		pngPtr *Struct,
		infoPtr *Info)

	ReadRows func(
		pngPtr *Struct,
		row **byte,
		displayRow **byte,
		numRows Uint32)

	ReadRow func(
		pngPtr *Struct,
		row *byte,
		displayRow *byte)

	ReadImage func(
		pngPtr *Struct,
		image **byte)

	WriteRow func(
		pngPtr *Struct,
		row *byte)

	WriteRows func(
		pngPtr *Struct,
		row **byte,
		numRows Uint32)

	WriteImage func(
		pngPtr *Struct,
		image **byte)

	WriteEnd func(
		pngPtr *Struct,
		infoPtr *Info)

	ReadEnd func(
		pngPtr *Struct,
		infoPtr *Info)

	DestroyInfoStruct func(
		pngPtr *Struct,
		infoPtrPtr **Info)

	DestroyReadStruct func(
		pngPtrPtr **Struct,
		infoPtrPtr **Info,
		endInfoPtrPtr **Info)

	DestroyWriteStruct func(
		pngPtrPtr **Struct,
		infoPtrPtr **Info)

	SetCrcAction func(
		pngPtr *Struct,
		critAction int,
		ancilAction int)

	SetFilter func(
		pngPtr *Struct,
		method int,
		filters int)

	SetFilterHeuristics func(
		pngPtr *Struct,
		heuristicMethod int,
		numWeights int,
		filterWeights Doublep,
		filterCosts Doublep)

	SetCompressionLevel func(
		pngPtr *Struct,
		level int)

	SetCompressionMemLevel func(
		pngPtr *Struct,
		memLevel int)

	SetCompressionStrategy func(
		pngPtr *Struct,
		strategy int)

	SetCompressionWindowBits func(
		pngPtr *Struct,
		windowBits int)

	SetCompressionMethod func(
		pngPtr *Struct,
		method int)

	InitIo func(
		pngPtr *Struct,
		fp *T.FILE)

	SetErrorFn func(
		pngPtr *Struct,
		errorPtr *T.Void,
		errorFn ErrorPtr,
		warningFn ErrorPtr)

	GetErrorPtr func(
		pngPtr *Struct) *T.Void

	SetWriteFn func(
		pngPtr *Struct,
		ioPtr *T.Void,
		writeDataFn RwPtr,
		outputFlushFn FlushPtr)

	SetReadFn func(
		pngPtr *Struct,
		ioPtr *T.Void,
		readDataFn RwPtr)

	GetIoPtr func(
		pngPtr *Struct) *T.Void

	SetReadStatusFn func(
		pngPtr *Struct,
		readRowFn ReadStatusPtr)

	SetWriteStatusFn func(
		pngPtr *Struct,
		writeRowFn WriteStatusPtr)

	SetMemFn func(
		pngPtr *Struct,
		memPtr *T.Void,
		mallocFn MallocPtr,
		freeFn FreePtr)

	GetMemPtr func(
		pngPtr *Struct) *T.Void

	SetReadUserTransformFn func(
		pngPtr *Struct,
		readUserTransformFn UserTransformPtr)

	SetWriteUserTransformFn func(
		pngPtr *Struct,
		writeUserTransformFn UserTransformPtr)

	SetUserTransformInfo func(
		pngPtr *Struct,
		userTransformPtr *T.Void,
		userTransformDepth int,
		userTransformChannels int)

	GetUserTransformPtr func(
		pngPtr *Struct) *T.Void

	SetReadUserChunkFn func(
		pngPtr *Struct,
		userChunkPtr *T.Void,
		readUserChunkFn UserChunkPtr)
	GetUserChunkPtr func(
		pngPtr *Struct) *T.Void

	SetProgressiveReadFn func(
		pngPtr *Struct,
		progressivePtr *T.Void,
		infoFn ProgressiveInfoPtr,
		rowFn ProgressiveRowPtr,
		endFn ProgressiveEndPtr)

	GetProgressivePtr func(
		pngPtr *Struct) *T.Void

	ProcessData func(
		pngPtr *Struct,
		infoPtr *Info,
		buffer *byte,
		bufferSize SizeT)

	ProgressiveCombineRow func(
		pngPtr *Struct,
		oldRow *byte,
		newRow *byte)

	Malloc func(
		pngPtr *Struct,
		size AllocSizeT) *T.Void

	Calloc func(
		pngPtr *Struct,
		size AllocSizeT) *T.Void

	MallocWarn func(
		pngPtr *Struct,
		size AllocSizeT) *T.Void

	Free func(
		pngPtr *Struct,
		ptr *T.Void)

	FreeData func(
		pngPtr *Struct,
		infoPtr *Info,
		freeMe Uint32,
		num int)

	DataFreer func(
		pngPtr *Struct,
		infoPtr *Info,
		freer int,
		mask Uint32)

	MallocDefault func(
		pngPtr *Struct,
		size AllocSizeT) *T.Void

	FreeDefault func(
		pngPtr *Struct,
		ptr *T.Void)

	Error func(
		pngPtr *Struct,
		errorMessage *T.Char)

	ChunkError func(
		pngPtr *Struct,
		errorMessage *T.Char)

	Warning func(
		pngPtr *Struct,
		warningMessage *T.Char)

	ChunkWarning func(
		pngPtr *Struct,
		warningMessage *T.Char)

	GetValid func(
		pngPtr *Struct,
		infoPtr *Info,
		flag Uint32) Uint32

	GetRowbytes func(
		pngPtr *Struct,
		infoPtr *Info) SizeT

	GetRows func(
		pngPtr *Struct,
		infoPtr *Info) **byte

	SetRows func(
		pngPtr *Struct,
		infoPtr *Info,
		rowPointers **byte)

	GetChannels func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetImageWidth func(
		pngPtr *Struct,
		infoPtr *Info) Uint32

	GetImageHeight func(
		pngPtr *Struct,
		infoPtr *Info) Uint32

	GetBitDepth func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetColorType func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetFilterType func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetInterlaceType func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetCompressionType func(
		pngPtr *Struct,
		infoPtr *Info) byte

	GetPixelsPerMeter func(
		pngPtr *Struct,
		infoPtr *Info) Uint32

	GetXPixelsPerMeter func(
		pngPtr *Struct,
		infoPtr *Info) Uint32

	GetYPixelsPerMeter func(
		pngPtr *Struct,
		infoPtr *Info) Uint32

	GetPixelAspectRatio func(
		pngPtr *Struct,
		infoPtr *Info) float32

	GetXOffsetPixels func(
		pngPtr *Struct,
		infoPtr *Info) Int32

	GetYOffsetPixels func(
		pngPtr *Struct,
		infoPtr *Info) Int32

	GetXOffsetMicrons func(
		pngPtr *Struct,
		infoPtr *Info) Int32

	GetYOffsetMicrons func(
		pngPtr *Struct,
		infoPtr *Info) Int32

	GetSignature func(
		pngPtr *Struct,
		infoPtr *Info) *byte

	GetBKGD func(
		pngPtr *Struct,
		infoPtr *Info,
		background **Color16) Uint32

	SetBKGD func(
		pngPtr *Struct,
		infoPtr *Info,
		background *Color16)

	GetCHRM func(
		pngPtr *Struct,
		infoPtr *Info,
		whiteX, whiteY,
		redX, redY,
		greenX, greenY,
		blueX, blueY *float64) Uint32

	GetCHRMFixed func(
		pngPtr *Struct,
		infoPtr *Info,
		intWhiteX *FixedPoint,
		intWhiteY *FixedPoint,
		intRedX *FixedPoint,
		intRedY *FixedPoint,
		intGreenX *FixedPoint,
		intGreenY *FixedPoint,
		intBlueX *FixedPoint,
		intBlueY *FixedPoint) Uint32

	SetCHRM func(
		pngPtr *Struct,
		infoPtr *Info,
		whiteX, whiteY,
		redX, redY,
		greenX, greenY,
		blueX, blueY float64)

	SetCHRMFixed func(
		pngPtr *Struct,
		infoPtr *Info,
		intWhiteX FixedPoint,
		intWhiteY FixedPoint,
		intRedX FixedPoint,
		intRedY FixedPoint,
		intGreenX FixedPoint,
		intGreenY FixedPoint,
		intBlueX FixedPoint,
		intBlueY FixedPoint)

	GetGAMA func(
		pngPtr *Struct,
		infoPtr *Info,
		fileGamma *float64) Uint32

	GetGAMAFixed func(
		pngPtr *Struct,
		infoPtr *Info,
		intFileGamma *FixedPoint) Uint32

	SetGAMA func(
		pngPtr *Struct,
		infoPtr *Info,
		fileGamma float64)

	SetGAMAFixed func(
		pngPtr *Struct,
		infoPtr *Info,
		intFileGamma FixedPoint)

	GetHIST func(
		pngPtr *Struct,
		infoPtr *Info,
		hist **uint16) Uint32

	SetHIST func(
		pngPtr *Struct,
		infoPtr *Info,
		hist *uint16)

	GetIHDR func(
		pngPtr *Struct,
		infoPtr *Info,
		width *Uint32,
		height *Uint32,
		bitDepth *int,
		colorType *int,
		interlaceMethod *int,
		compressionMethod *int,
		filterMethod *int) Uint32

	SetIHDR func(
		pngPtr *Struct,
		infoPtr *Info,
		width Uint32,
		height Uint32,
		bitDepth int,
		colorType int,
		interlaceMethod int,
		compressionMethod int,
		filterMethod int)

	GetOFFs func(
		pngPtr *Struct,
		infoPtr *Info,
		offsetX *Int32,
		offsetY *Int32,
		unitType *int) Uint32

	SetOFFs func(
		pngPtr *Struct,
		infoPtr *Info,
		offsetX Int32,
		offsetY Int32,
		unitType int)

	GetPCAL func(
		pngPtr *Struct,
		infoPtr *Info,
		purpose **T.Char,
		X0 *Int32,
		X1 *Int32,
		typ *int,
		nparams *int,
		units **T.Char,
		params ***T.Char) Uint32

	SetPCAL func(
		pngPtr *Struct,
		infoPtr *Info,
		purpose *T.Char,
		X0 Int32,
		X1 Int32,
		typ int,
		nparams int,
		units *T.Char,
		params **T.Char)

	GetPHYs func(
		pngPtr *Struct,
		infoPtr *Info,
		resX *Uint32,
		resY *Uint32,
		unitType *int) Uint32

	SetPHYs func(
		pngPtr *Struct,
		infoPtr *Info,
		resX Uint32,
		resY Uint32,
		unitType int)

	GetPLTE func(
		pngPtr *Struct,
		infoPtr *Info,
		palette **Color,
		numPalette *int) Uint32

	SetPLTE func(
		pngPtr *Struct,
		infoPtr *Info,
		palette *Color,
		numPalette int)

	GetSBIT func(
		pngPtr *Struct,
		infoPtr *Info,
		sigBit **Color8) Uint32

	SetSBIT func(
		pngPtr *Struct,
		infoPtr *Info,
		sigBit *Color8)

	GetSRGB func(
		pngPtr *Struct,
		infoPtr *Info,
		intent *int) Uint32

	SetSRGB func(
		pngPtr *Struct,
		infoPtr *Info,
		intent int)

	SetSRGBGAMAAndCHRM func(
		pngPtr *Struct,
		infoPtr *Info,
		intent int)

	GetICCP func(
		pngPtr *Struct,
		infoPtr *Info,
		name **T.Char,
		compressionType *int,
		profile **T.Char,
		proflen *Uint32) Uint32

	SetICCP func(
		pngPtr *Struct,
		infoPtr *Info,
		name *T.Char,
		compressionType int,
		profile *T.Char,
		proflen Uint32)

	GetSPLT func(
		pngPtr *Struct,
		infoPtr *Info,
		entries **SPLTT) Uint32

	SetSPLT func(
		pngPtr *Struct,
		infoPtr *Info,
		entries *SPLTT,
		nentries int)

	GetText func(
		pngPtr *Struct,
		infoPtr *Info,
		textPtr *Textp,
		numText *int) Uint32

	SetText func(
		pngPtr *Struct,
		infoPtr *Info,
		textPtr Textp,
		numText int)

	GetTIME func(
		pngPtr *Struct,
		infoPtr *Info,
		modTime **Time) Uint32

	SetTIME func(
		pngPtr *Struct,
		infoPtr *Info,
		modTime *Time)

	GetTRNS func(
		pngPtr *Struct,
		infoPtr *Info,
		transAlpha **byte,
		numTrans *int,
		transColor **Color16) Uint32

	SetTRNS func(
		pngPtr *Struct,
		infoPtr *Info,
		transAlpha *byte,
		numTrans int,
		transColor *Color16)

	GetSCAL func(
		pngPtr *Struct,
		infoPtr *Info,
		unit *int,
		width, height *float64) Uint32

	SetSCAL func(
		pngPtr *Struct,
		infoPtr *Info,
		unit int,
		width, height float64)

	SetKeepUnknownChunks func(
		pngPtr *Struct,
		Keep int,
		chunkList *byte,
		numChunks int)

	HandleAsUnknown func(
		pngPtr *Struct,
		chunkName *byte) int

	SetUnknownChunks func(
		pngPtr *Struct,
		infoPtr *Info,
		unknowns *UnknownChunk,
		numUnknowns int)

	SetUnknownChunkLocation func(
		pngPtr *Struct,
		infoPtr *Info,
		chunk int,
		location int)

	GetUnknownChunks func(
		pngPtr *Struct,
		infoPtr *Info,
		entries **UnknownChunk) Uint32

	SetInvalid func(
		pngPtr *Struct,
		infoPtr *Info,
		mask int)

	Read func(
		pngPtr *Struct,
		infoPtr *Info,
		transforms int,
		params *T.Void)

	Write func(
		pngPtr *Struct,
		infoPtr *Info,
		transforms int,
		params *T.Void)

	GetCopyright func(
		pngPtr *Struct) *T.Char

	GetHeaderVer func(
		pngPtr *Struct) *T.Char

	GetHeaderVersion func(
		pngPtr *Struct) *T.Char

	GetLibpngVer func(
		pngPtr *Struct) *T.Char

	PermitMngFeatures func(
		pngPtr *Struct,
		mngFeaturesPermitted Uint32) Uint32

	SetUserLimits func(
		pngPtr *Struct,
		userWidthMax Uint32,
		userHeightMax Uint32)

	GetUserWidthMax func(
		pngPtr *Struct) Uint32

	GetUserHeightMax func(
		pngPtr *Struct) Uint32

	SetChunkCacheMax func(
		pngPtr *Struct,
		userChunkCacheMax Uint32)

	GetChunkCacheMax func(
		pngPtr *Struct) Uint32

	SetChunkMallocMax func(
		pngPtr *Struct,
		userChunkCacheMax AllocSizeT)

	GetChunkMallocMax func(
		pngPtr *Struct) AllocSizeT

	GetIoState func(
		pngPtr *Struct) Uint32

	GetIoChunkName func(
		pngPtr *Struct) *byte

	GetUint31 func(
		pngPtr *Struct,
		buf *byte) Uint32

	SaveUint32 func(
		buf *byte,
		i Uint32)

	SaveInt32 func(
		buf *byte,
		i Int32)

	SaveUint16 func(
		buf *byte,
		i uint)
)

Functions

This section is empty.

Types

type AllocSizeT

type AllocSizeT SizeT

type Color

type Color struct {
	Red   byte
	Green byte
	Blue  byte
}

type Color16

type Color16 struct {
	Index byte
	Red   uint16
	Green uint16
	Blue  uint16
	Gray  uint16
}

type Color8

type Color8 struct {
	Red   byte
	Green byte
	Blue  byte
	Gray  byte
	Alpha byte
}

type Doublep

type Doublep *float64

type ErrorPtr

type ErrorPtr func(*Struct, *T.Char)

type FixedPoint

type FixedPoint Int32

type FlushPtr

type FlushPtr func(*Struct)

type FreePtr

type FreePtr func(*Struct, *T.Void)

type Info

type Info struct {
	Width            Uint32
	Height           Uint32
	Valid            Uint32
	Rowbytes         SizeT
	Palette          *Color
	NumPalette       uint16
	NumTrans         uint16
	BitDepth         byte
	ColorType        byte
	CompressionType  byte
	FilterType       byte
	InterlaceType    byte
	Channels         byte
	PixelDepth       byte
	Sparebyte        byte
	Signature        [8]byte
	Gamma            float32
	SrgbIntent       byte
	NumText          int
	MaxText          int
	Text             Textp
	ModTime          Time
	SigBit           Color8
	TransAlpha       *byte
	TransColor       Color16
	Background       Color16
	XOffset          Int32
	YOffset          Int32
	OffsetUnitType   byte
	XPixelsPerUnit   Uint32
	YPixelsPerUnit   Uint32
	PhysUnitType     byte
	Hist             *uint16
	XWhite           float32
	YWhite           float32
	XRed             float32
	YRed             float32
	XGreen           float32
	YGreen           float32
	XBlue            float32
	YBlue            float32
	PcalPurpose      *T.Char
	PcalX0           Int32
	PcalX1           Int32
	PcalUnits        *T.Char
	PcalParams       **T.Char
	PcalType         byte
	PcalNparams      byte
	FreeMe           Uint32
	UnknownChunks    *UnknownChunk
	UnknownChunksNum SizeT
	IccpName         *T.Char
	IccpProfile      *T.Char
	IccpProflen      Uint32
	IccpCompression  byte
	SpltPalettes     *SPLTT
	SpltPalettesNum  Uint32
	ScalUnit         byte
	ScalPixelWidth   float64
	ScalPixelHeight  float64
	ScalSWidth       *T.Char
	ScalSHeight      *T.Char
	RowPointers      **byte
	IntGamma         FixedPoint
	IntXWhite        FixedPoint
	IntYWhite        FixedPoint
	IntXRed          FixedPoint
	IntYRed          FixedPoint
	IntXGreen        FixedPoint
	IntYGreen        FixedPoint
	IntXBlue         FixedPoint
	IntYBlue         FixedPoint
}

type Int32

type Int32 int // Anomally: Size?

type JmpBuf

type JmpBuf [16]int

type LongjmpPtr

type LongjmpPtr func(JmpBuf, int)

type MallocPtr

type MallocPtr func(*Struct, AllocSizeT) *T.Void

type ProgressiveEndPtr

type ProgressiveEndPtr func(*Struct, *Info)

type ProgressiveInfoPtr

type ProgressiveInfoPtr func(*Struct, *Info)

type ProgressiveRowPtr

type ProgressiveRowPtr func(
	*Struct, *byte, Uint32, int)

type ReadStatusPtr

type ReadStatusPtr func(*Struct, Uint32, int)

type RowInfo

type RowInfo struct {
	Width      Uint32
	Rowbytes   SizeT
	ColorType  byte
	BitDepth   byte
	Channels   byte
	PixelDepth byte
}

type RwPtr

type RwPtr func(*Struct, *byte, SizeT)

type SPLTEntry

type SPLTEntry struct {
	Red       uint16
	Green     uint16
	Blue      uint16
	Alpha     uint16
	Frequency uint16
}

type SPLTT

type SPLTT struct {
	Name     *T.Char
	Depth    byte
	Entries  *SPLTEntry
	Nentries Int32
}

type SizeT

type SizeT T.SizeT

type Struct

type Struct StructDef

type StructDef

type StructDef struct {
	Jmpbuf                JmpBuf
	LongjmpFn             LongjmpPtr
	ErrorFn               ErrorPtr
	WarningFn             ErrorPtr
	ErrorPtr              *T.Void
	WriteDataFn           RwPtr
	ReadDataFn            RwPtr
	IoPtr                 *T.Void
	ReadUserTransformFn   UserTransformPtr
	WriteUserTransformFn  UserTransformPtr
	UserTransformPtr      *T.Void
	UserTransformDepth    byte
	UserTransformChannels byte
	Mode                  Uint32
	Flags                 Uint32
	Transformations       Uint32
	Zstream               Z.ZStream
	Zbuf                  *byte
	ZbufSize              SizeT
	ZlibLevel             int
	ZlibMethod            int
	ZlibWindowBits        int
	ZlibMemLevel          int
	ZlibStrategy          int
	Width                 Uint32
	Height                Uint32
	NumRows               Uint32
	UsrWidth              Uint32
	Rowbytes              SizeT
	UserChunkMallocMax    AllocSizeT
	Iwidth                Uint32
	RowNumber             Uint32
	PrevRow               *byte
	RowBuf                *byte
	SubRow                *byte
	UpRow                 *byte
	AvgRow                *byte
	PaethRow              *byte
	RowInfo               RowInfo
	IdatSize              Uint32
	Crc                   Uint32
	Palette               *Color
	NumPalette            uint16
	NumTrans              uint16
	ChunkName             [5]byte
	Compression           byte
	Filter                byte
	Interlaced            byte
	Pass                  byte
	DoFilter              byte
	ColorType             byte
	BitDepth              byte
	UsrBitDepth           byte
	PixelDepth            byte
	Channels              byte
	UsrChannels           byte
	Sigbytes              byte
	Filler                uint16
	BackgroundGammaType   byte
	BackgroundGamma       float32
	Background            Color16
	Background1           Color16
	OutputFlushFn         FlushPtr
	FlushDist             Uint32
	FlushRows             Uint32
	GammaShift            int
	Gamma                 float32
	ScreenGamma           float32
	GammaTable            *byte
	GammaFrom1            *byte
	GammaTo1              *byte
	Gamma16Table          **uint16
	Gamma16From1          **uint16
	Gamma16To1            **uint16
	SigBit                Color8
	Shift                 Color8
	TransAlpha            *byte
	TransColor            Color16
	ReadRowFn             ReadStatusPtr
	WriteRowFn            WriteStatusPtr
	InfoFn                ProgressiveInfoPtr
	RowFn                 ProgressiveRowPtr
	EndFn                 ProgressiveEndPtr
	SaveBufferPtr         *byte
	SaveBuffer            *byte
	CurrentBufferPtr      *byte
	CurrentBuffer         *byte
	PushLength            Uint32
	SkipLength            Uint32
	SaveBufferSize        SizeT
	SaveBufferMax         SizeT
	BufferSize            SizeT
	CurrentBufferSize     SizeT
	ProcessMode           int
	CurPalette            int
	CurrentTextSize       SizeT
	CurrentTextLeft       SizeT
	CurrentText           *T.Char
	CurrentTextPtr        *T.Char
	PaletteLookup         *byte
	QuantizeIndex         *byte
	Hist                  *uint16
	HeuristicMethod       byte
	NumPrevFilters        byte
	PrevFilters           *byte
	FilterWeights         *uint16
	InvFilterWeights      *uint16
	FilterCosts           *uint16
	InvFilterCosts        *uint16
	TimeBuffer            *T.Char
	FreeMe                Uint32
	UserChunkPtr          *T.Void
	ReadUserChunkFn       UserChunkPtr
	NumChunkList          int
	ChunkList             *byte
	RgbToGrayStatus       byte
	RgbToGrayRedCoeff     uint16
	RgbToGrayGreenCoeff   uint16
	RgbToGrayBlueCoeff    uint16
	MngFeaturesPermitted  Uint32
	IntGamma              FixedPoint
	FilterType            byte
	MemPtr                *T.Void
	MallocFn              MallocPtr
	FreeFn                FreePtr
	BigRowBuf             *byte
	QuantizeSort          *byte
	IndexToPalette        *byte
	PaletteToIndex        *byte
	CompressionType       byte
	UserWidthMax          Uint32
	UserHeightMax         Uint32
	UserChunkCacheMax     Uint32
	UnknownChunk          UnknownChunk
	OldBigRowBufSize      Uint32
	OldPrevRowSize        Uint32
	Chunkdata             *T.Char
	IoState               Uint32
}

type Text

type Text struct {
	Compression int
	Key         *T.Char
	Text        *T.Char
	TextLength  SizeT
	ItxtLength  SizeT
	Lang        *T.Char
	LangKey     *T.Char
}

type Textp

type Textp *Text

type Time

type Time struct {
	Year   uint16
	Month  byte
	Day    byte
	Hour   byte
	Minute byte
	Second byte
}

type Uint32

type Uint32 uint // Anomally: Size?

type UnknownChunk

type UnknownChunk struct {
	Name     [5]byte
	Data     *byte
	Size     SizeT
	Location byte
}

type UserChunkPtr

type UserChunkPtr func(*Struct, *UnknownChunk) int

type UserTransformPtr

type UserTransformPtr func(
	*Struct, *RowInfo, *byte)

type WriteStatusPtr

type WriteStatusPtr func(*Struct, Uint32, int)

Jump to

Keyboard shortcuts

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