Versions in this module Expand all Collapse all v0 v0.0.1 Oct 4, 2021 Changes in this version + const AngleD0 + const AngleD180 + const AngleD270 + const AngleD90 + const BlendModeAdd + const BlendModeAtop + const BlendModeClear + const BlendModeColourBurn + const BlendModeColourDodge + const BlendModeDarken + const BlendModeDest + const BlendModeDestAtop + const BlendModeDestIn + const BlendModeDestOut + const BlendModeDestOver + const BlendModeDifference + const BlendModeExclusion + const BlendModeHardLight + const BlendModeIn + const BlendModeLighten + const BlendModeMultiply + const BlendModeOut + const BlendModeOver + const BlendModeOverlay + const BlendModeSaturate + const BlendModeScreen + const BlendModeSoftLight + const BlendModeSource + const BlendModeXor + const DirectionCentre + const DirectionEast + const DirectionHorizontal + const DirectionNorth + const DirectionNorthEast + const DirectionNorthWest + const DirectionSouth + const DirectionSouthEast + const DirectionSouthWest + const DirectionVertical + const DirectionWest + func DefaultInit() + func Error() error + func ForeignFindLoad(filename string) string + func ForeignFindLoadBuffer(data []byte) string + func Free(in *Image) + func Init() (err error) + func LeakSet(leak bool) + func ProgressSet(progress bool) + func Shutdown() + func Version(flag int) int + func VersionString() string + type Angle int + type BlendMode int + type CompassDirection int + type Direction int + type Image struct + func AnalyzeLoad(filename string) (out *Image, err error) + func Black(width, height int) (out *Image, err error) + func CSVLoad(filename string) (out *Image, err error) + func Eye(width, height int) (out *Image, err error) + func FITSLoad(filename string) (out *Image, err error) + func FractSurf(width, height int, fractalDimension float64) (out *Image, err error) + func GIFLoad(filename string) (out *Image, err error) + func GIFLoadBuffer(buf []byte) (out *Image, err error) + func GaussMat(sigma, minAmpl float64) (out *Image, err error) + func GaussNoise(width, height int) (out *Image, err error) + func Grey(width, height int) (out *Image, err error) + func HEIFLoad(filename string) (out *Image, err error) + func HEIFLoadBuffer(buf []byte) (out *Image, err error) + func Identity() (out *Image, err error) + func JPEGLoad(filename string) (out *Image, err error) + func JPEGLoadBuffer(buf []byte) (out *Image, err error) + func Load(filename string) (out *Image, err error) + func LogMat(sigma, minAmpl float64) (out *Image, err error) + func MagickLoad(filename string) (out *Image, err error) + func MagickLoadBuffer(buf []byte) (out *Image, err error) + func MaskButterWorth(width, height int, order, frequencyCutoff, amplitudeCutoff float64) (out *Image, err error) + func MaskButterWorthBand(width, height int, ...) (out *Image, err error) + func MaskButterWorthRing(width, height int, order, frequencyCutoff, amplitudeCutoff, ringWidth float64) (out *Image, err error) + func MaskFractal(width, height int, fractalDimension float64) (out *Image, err error) + func MaskGaussian(width, height int, frequencyCutoff, amplitudeCutoff float64) (out *Image, err error) + func MaskGaussianBand(width, height int, ...) (out *Image, err error) + func MaskGaussianRing(width, height int, frequencyCutoff, amplitudeCutoff, ringWidth float64) (out *Image, err error) + func MaskIdeal(width, height int, frequencyCutoff float64) (out *Image, err error) + func MaskIdealBand(width, height int, frequencyCutoffX, frequencyCutoffY, radius float64) (out *Image, err error) + func MaskIdealRing(width, height int, frequencyCutoff, ringWidth float64) (out *Image, err error) + func MatLoad(filename string) (out *Image, err error) + func MatrixLoad(filename string) (out *Image, err error) + func NIFTILoad(filename string) (out *Image, err error) + func New() *Image + func NewFromBuffer(buf []byte, optionString string) *Image + func NewFromFile(filename string) (out *Image, err error) + func NewMemory() *Image + func OpenEXRLoad(filename string) (out *Image, err error) + func OpenSlideLoad(filename string) (out *Image, err error) + func PDFLoad(filename string) (out *Image, err error) + func PDFLoadBuffer(buf []byte) (out *Image, err error) + func PNGLoad(filename string) (out *Image, err error) + func PNGLoadBuffer(buf []byte) (out *Image, err error) + func PPMLoad(filename string) (out *Image, err error) + func Perlin(width, height int) (out *Image, err error) + func RADLoad(filename string) (out *Image, err error) + func RawLoad(filename string, width, height, bands int) (out *Image, err error) + func SVGLoad(filename string) (out *Image, err error) + func SVGLoadBuffer(buf []byte) (out *Image, err error) + func Sines(width, height int) (out *Image, err error) + func TIFFLoad(filename string) (out *Image, err error) + func TIFFLoadBuffer(buf []byte) (out *Image, err error) + func Text(text string) (out *Image, err error) + func Thumbnail(filename string, width int) (out *Image, err error) + func ThumbnailBuffer(buf []byte, width int) (out *Image, err error) + func ToneLut() (out *Image, err error) + func WEBPLoad(filename string) (out *Image, err error) + func WEBPLoadBuffer(buf []byte) (out *Image, err error) + func Worley(width, height int) (out *Image, err error) + func Xyz(width, height int) (out *Image, err error) + func Zone(width, height int) (out *Image, err error) + func (th *Image) AutoRot() (err error) + func (th *Image) BuildLut() (err error) + func (th *Image) CSVSave(filename string) (err error) + func (th *Image) Composite() + func (th *Image) Composite2(overlay *Image, mode BlendMode, point image.Point) (err error) + func (th *Image) Copy() (out *Image, err error) + func (th *Image) Crop(left, top, width, height int) (err error) + func (th *Image) DZSave(filename string) (err error) + func (th *Image) DrawCircle(ink []float64, cx, cy, radius int) (err error) + func (th *Image) DrawCircle1(ink float64, cx, cy, radius int) (err error) + func (th *Image) DrawFlood(ink []float64, x, y int) (err error) + func (th *Image) DrawFlood1(ink float64, x, y int) (err error) + func (th *Image) DrawImage(sub *Image, x, y int) (err error) + func (th *Image) DrawLine(ink []float64, x1, y1, x2, y2 int) (err error) + func (th *Image) DrawLine1(ink float64, x1, y1, x2, y2 int) (err error) + func (th *Image) DrawMask(ink []float64, mask *Image, x, y int) (err error) + func (th *Image) DrawMask1(ink float64, mask *Image, x, y int) (err error) + func (th *Image) DrawPoint(ink []float64, x, y int) (err error) + func (th *Image) DrawPoint1(ink float64, x, y int) (err error) + func (th *Image) DrawRect(ink []float64, left, top, width, height int) (err error) + func (th *Image) DrawRect1(ink float64, left, top, width, height int) (err error) + func (th *Image) DrawSmudge(left, top, width, height int) (err error) + func (th *Image) Embed(x, y, width, height int) (err error) + func (th *Image) ExtractArea(left, top, width, height int) (err error) + func (th *Image) ExtractBand(band int) (err error) + func (th *Image) FITSSave(filename string) (err error) + func (th *Image) Flip(direction Direction) (err error) + func (th *Image) FormatSizeof() + func (th *Image) Free() + func (th *Image) FreqMult(mask *Image) (err error) + func (th *Image) FwFFT() (err error) + func (th *Image) GlobalBalance() (err error) + func (th *Image) Gravity(direction CompassDirection, width, height int) (err error) + func (th *Image) Grid(tileHeight, across, down int) (err error) + func (th *Image) HEIFSave(filename string) (err error) + func (th *Image) HEIFSaveBuffer() (buf []byte, size int, err error) + func (th *Image) Height() int + func (th *Image) ImageSetProgress(progress bool) + func (th *Image) InvFFT() (err error) + func (th *Image) InvertLut() (err error) + func (th *Image) JPEGSave(filename string) (err error) + func (th *Image) JPEGSaveBuffer() (buf []byte, size int, err error) + func (th *Image) JPEGSaveMime() (err error) + func (th *Image) MagickSave(filename string) (err error) + func (th *Image) MagickSaveBuffer() (buf []byte, size int, err error) + func (th *Image) Match(sec *Image, xr1, yr1, xs1, ys1, xr2, yr2, xs2, ys2 int) (err error) + func (th *Image) MatrixPrint() (err error) + func (th *Image) MatrixSave(filename string) (err error) + func (th *Image) Merge(sec *Image, direction Direction, dx, dy int) (err error) + func (th *Image) Mosaic(sec *Image, direction Direction, xref, yref, xsec, ysec int) (err error) + func (th *Image) Mosaic1(sec *Image, direction Direction, xr1, yr1, xs1, ys1, xr2, yr2, xs2, ys2 int) (err error) + func (th *Image) NIFTISave(filename string) (err error) + func (th *Image) PNGSave(filename string) (err error) + func (th *Image) PNGSaveBuffer() (buf []byte, size int, err error) + func (th *Image) PPMSave(filename string) (err error) + func (th *Image) Phasecor(in *Image) (err error) + func (th *Image) RADSave(filename string) (err error) + func (th *Image) RADSaveBuffer() (buf []byte, size int, err error) + func (th *Image) RawSave(filename string) (err error) + func (th *Image) ReMosaic(oldStr, newStr string) (err error) + func (th *Image) Replicate(across, down int) (err error) + func (th *Image) Resize(scale float64) (err error) + func (th *Image) Rotate(angle float64) (err error) + func (th *Image) Save2file(filename string) (err error) + func (th *Image) Scale() (err error) + func (th *Image) SmartCrop(width, height int) (err error) + func (th *Image) Spectrum() (err error) + func (th *Image) SubSample(xFac, yFac int) (err error) + func (th *Image) TIFFSave(filename string) (err error) + func (th *Image) TIFFSaveBuffer() (buf []byte, size int, err error) + func (th *Image) ThumbnailImage(width int) (err error) + func (th *Image) WEBPSave(filename string) (err error) + func (th *Image) WEBPSaveBuffer() (buf []byte, size int, err error) + func (th *Image) WEBPSaveMime() (err error) + func (th *Image) Width() int + func (th *Image) Wrap() (err error) + func (th *Image) Zoom(xFac, yFac int) (err error)