Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
G
 gdAffineApplyToPointF
 gdAffineConcat
 gdAffineEqual
 gdAffineFlip
 gdAffineIdentity
 gdAffineInvert
 gdAffineRectilinear
 gdAffineRotate
 gdAffineScale
 gdAffineShearHorizontal
 gdAffineShearVertical
 gdAffineTranslate
 gdAlphaBlend
 gdClearErrorMethod
 gdColorMapLookup
 gdDPExtractData
 gdExtraVersion
 gdFontCacheSetup
 gdFontCacheShutdown
 gdFontGetGiant
 gdFontGetLarge
 gdFontGetMediumBold
 gdFontGetSmall
 gdFontGetTiny
 gdFree
 gdFreeFontCache
 gdFTUseFontConfig
 gdImageAABlend
 gdImageAlphaBlending
 gdImageArc
 gdImageBmp
 gdImageBmpCtx
 gdImageBmpPtr
 gdImageBoundsSafe
 gdImageBrightness
 gdImageChar
 gdImageCharUp
 gdImageClone
 gdImageColor
 gdImageColorAllocate
 gdImageColorAllocateAlpha
 gdImageColorClosest
 gdImageColorClosestAlpha
 gdImageColorClosestHWB
 gdImageColorDeallocate
 gdImageColorExact
 gdImageColorExactAlpha
 gdImageColorMatch
 gdImageColorReplace
 gdImageColorReplaceArray
 gdImageColorReplaceCallback
 gdImageColorReplaceThreshold
 gdImageColorResolve
 gdImageColorResolveAlpha
 gdImageColorTransparent
 gdImageCompare
 gdImageContrast
 gdImageConvolution
 gdImageCopy
 gdImageCopyGaussianBlurred
 gdImageCopyMerge
 gdImageCopyMergeGray
 gdImageCopyResampled
 gdImageCopyResized
 gdImageCopyRotated
 gdImageCreate
 gdImageCreateFromBmp
 gdImageCreateFromBmpCtx
 gdImageCreateFromBmpPtr
 gdImageCreateFromFile
 gdImageCreateFromGd
 gdImageCreateFromGd2
 gdImageCreateFromGd2Ctx
 gdImageCreateFromGd2Part
 gdImageCreateFromGd2PartCtx
 gdImageCreateFromGd2PartPtr
 gdImageCreateFromGd2Ptr
 gdImageCreateFromGdCtx
 gdImageCreateFromGdPtr
 gdImageCreateFromGif
 gdImageCreateFromGifCtx
 gdImageCreateFromGifPtr
 gdImageCreateFromJpeg
 gdImageCreateFromJpegCtx
 gdImageCreateFromJpegCtxEx
 gdImageCreateFromJpegEx
 gdImageCreateFromJpegPtr
 gdImageCreateFromJpegPtrEx
 gdImageCreateFromPng
 gdImageCreateFromPngCtx
 gdImageCreateFromPngPtr
 gdImageCreateFromPngSource
 gdImageCreateFromTga
 gdImageCreateFromTgaCtx
 gdImageCreateFromTgaPtr
 gdImageCreateFromTIFF
 gdImageCreateFromTiffCtx
 gdImageCreateFromTiffPtr
 gdImageCreateFromWBMP
 gdImageCreateFromWBMPCtx
 gdImageCreateFromWBMPPtr
 gdImageCreateFromXbm
 gdImageCreateFromXpm
 gdImageCreatePaletteFromTrueColor
 gdImageCreateTrueColor
 gdImageCrop
 gdImageCropAuto
 gdImageCropThreshold
 gdImageDashedLine
 gdImageDestroy
 gdImageEdgeDetectQuick
 gdImageEllipse
 gdImageEmboss
 gdImageFile
 gdImageFill
 gdImageFilledArc
 gdImageFilledEllipse
 gdImageFilledPolygon
 gdImageFilledRectangle
 gdImageFillToBorder
 gdImageFlipBoth
 gdImageFlipHorizontal
 gdImageFlipVertical
 gdImageGaussianBlur
 gdImageGd
 gdImageGd2
 gdImageGd2Ptr
 gdImageGdPtr
 gdImageGetClip
 gdImageGetInterpolationMethod
 gdImageGetPixel
 gdImageGetTrueColorPixel
 gdImageGif
 gdImageGifAnimAdd
 gdImageGifAnimAddCtx
 gdImageGifAnimAddPtr
 gdImageGifAnimBegin
 gdImageGifAnimBeginCtx
 gdImageGifAnimBeginPtr
 gdImageGifAnimEnd
 gdImageGifAnimEndCtx
 gdImageGifAnimEndPtr
 gdImageGifCtx
 gdImageGifPtr
 gdImageGrayScale
 gdImageInterlace
 gdImageJpeg
 gdImageJpegCtx
 gdImageJpegPtr
 gdImageLine
 gdImageMeanRemoval
 gdImageNegate
 gdImageNeuQuant
 gdImageOpenPolygon
 gdImagePaletteCopy
 gdImagePaletteToTrueColor
 gdImagePixelate
 gdImagePng
 gdImagePngCtx
 gdImagePngCtxEx
 gdImagePngEx
 gdImagePngPtr
 gdImagePngPtrEx
 gdImagePngToSink
 gdImagePolygon
 gdImageRectangle
 gdImageRotateInterpolated
 gdImageSaveAlpha
 gdImageScale
 gdImageScatter
 gdImageScatterColor
 gdImageScatterEx
 gdImageSelectiveBlur
 gdImageSetAntiAliased
 gdImageSetAntiAliasedDontBlend
 gdImageSetBrush
 gdImageSetClip
 gdImageSetInterpolationMethod
 gdImageSetPixel
 gdImageSetResolution
 gdImageSetStyle
 gdImageSetThickness
 gdImageSetTile
 gdImageSharpen
 gdImageSmooth
 gdImageSquareToCircle
 gdImageString
 gdImageString16
 gdImageStringFT
 gdImageStringFTCircle
 gdImageStringFTEx
 gdImageStringTTF
 gdImageStringUp
 gdImageStringUp16
 gdImageTiff
 gdImageTiffCtx
 gdImageTiffPtr
 gdImageTrueColorToPalette
 gdImageTrueColorToPaletteSetMethod
 gdImageTrueColorToPaletteSetQuality
 gdImageWBMP
 gdImageWBMPCtx
 gdImageWBMPPtr
 gdImageWebp
 gdImageWebpEx
 gdImageWebpPtr
 gdImageWebpPtrEx
 gdImageXbmCtx
 gdLayerMultiply
 gdLayerOverlay
 gdMajorVersion
 gdMinorVersion
 gdNewDynamicCtx
 gdNewDynamicCtxEx
 gdNewFileCtx
 gdNewSSCtx
 gdReleaseVersion
 gdSetErrorMethod
 gdSupportsFileType
 gdTransformAffineBoundingBox
 gdTransformAffineCopy
 gdTransformAffineGetImage
 gdVersionString
int gdAffineApplyToPointF (gdPointFPtr dst,
const gdPointFPtr src,
const double affine[6])
Applies an affine transformation to a point (floating point gdPointF)
int gdAffineConcat (double dst[6],
const double m1[6],
const double m2[6])
Concat (Multiply) two affine transformation matrices.
int gdAffineEqual (const double m1[6],
const double m2[6])
Determines whether two affine transformations are equal.
int gdAffineFlip (double dst[6],
const double src[6],
const int flip_h,
const int flip_v)
Flip an affine transformation horizontally or vertically.
int gdAffineIdentity (double dst[6])
Set up the identity matrix.
int gdAffineInvert (double dst[6],
const double src[6])
Find the inverse of an affine transformation.
int gdAffineRectilinear (const double m[6])
Determines whether the affine transformation is axis aligned.
int gdAffineRotate (double dst[6],
const double angle)
Set up a rotation affine transform.
int gdAffineScale (double dst[6],
const double scale_x,
const double scale_y)
Set up a scaling matrix.
int gdAffineShearHorizontal(double dst[6],
const double angle)
Set up a horizontal shearing matrix || becomes \\.
int gdAffineShearVertical(double dst[6],
const double angle)
Set up a vertical shearing matrix, columns are untouched.
int gdAffineTranslate (double dst[6],
const double offset_x,
const double offset_y)
Set up a translation matrix.
int gdAlphaBlend (int dst,
int src)
void gdClearErrorMethod(void)
int gdColorMapLookup(const gdColorMap color_map,
const char *color_name,
int *r,
int *g,
int *b)
void * gdDPExtractData (struct gdIOCtx *ctx,
int *size)
const char * gdExtraVersion()
int gdFontCacheSetup (void)
void gdFontCacheShutdown ()
gdFontPtr gdFontGetGiant (void)
gdFontPtr gdFontGetLarge (void)
gdFontPtr gdFontGetMediumBold (void)
gdFontPtr gdFontGetSmall (void)
gdFontPtr gdFontGetTiny (void)
void gdFree (void *ptr)
void gdFreeFontCache ()
int gdFTUseFontConfig(int flag)
void gdImageAABlend (gdImagePtr im)
NO-OP, kept for library compatibility.
void gdImageAlphaBlending (gdImagePtr im,
int alphaBlendingArg)
void gdImageArc (gdImagePtr im,
int cx,
int cy,
int w,
int h,
int s,
int e,
int color)
void gdImageBmp(gdImagePtr im,
FILE *outFile,
int compression)
void gdImageBmpCtx(gdImagePtr im,
gdIOCtxPtr out,
int compression)
void * gdImageBmpPtr(gdImagePtr im,
int *size,
int compression)
int gdImageBoundsSafe (gdImagePtr im,
int x,
int y)
int gdImageBrightness(gdImagePtr src,
int brightness)
Set the brightness level level for the image src.
void gdImageChar (gdImagePtr im,
gdFontPtr f,
int x,
int y,
int c,
int color)
void gdImageCharUp (gdImagePtr im,
gdFontPtr f,
int x,
int y,
int c,
int color)
gdImagePtr gdImageClone (gdImagePtr src)
int gdImageColor(gdImagePtr src,
const int red,
const int green,
const int blue,
const int alpha)
int gdImageColorAllocate (gdImagePtr im,
int r,
int g,
int b)
int gdImageColorAllocateAlpha (gdImagePtr im,
int r,
int g,
int b,
int a)
int gdImageColorClosest (gdImagePtr im,
int r,
int g,
int b)
int gdImageColorClosestAlpha (gdImagePtr im,
int r,
int g,
int b,
int a)
int gdImageColorClosestHWB (gdImagePtr im,
int r,
int g,
int b)
void gdImageColorDeallocate (gdImagePtr im,
int color)
int gdImageColorExact (gdImagePtr im,
int r,
int g,
int b)
int gdImageColorExactAlpha (gdImagePtr im,
int r,
int g,
int b,
int a)
int gdImageColorMatch (gdImagePtr im1,
gdImagePtr im2)
Bring the palette colors in im2 to be closer to im1.
int gdImageColorReplace (gdImagePtr im,
int src,
int dst)
int gdImageColorReplaceArray (gdImagePtr im,
int len,
int *src,
int *dst)
int gdImageColorReplaceCallback (gdImagePtr im,
gdCallbackImageColor callback)
int gdImageColorReplaceThreshold (gdImagePtr im,
int src,
int dst,
float threshold)
int gdImageColorResolve (gdImagePtr im,
int r,
int g,
int b)
gdImageColorResolve is an alternative for the code fragment
int gdImageColorResolveAlpha (gdImagePtr im,
int r,
int g,
int b,
int a)
void gdImageColorTransparent (gdImagePtr im,
int color)
int gdImageCompare (gdImagePtr im1,
gdImagePtr im2)
int gdImageContrast(gdImagePtr src,
double contrast)
int gdImageConvolution(gdImagePtr src,
float filter[3][3],
float filter_div,
float offset)
void gdImageCopy (gdImagePtr dst,
gdImagePtr src,
int dstX,
int dstY,
int srcX,
int srcY,
int w,
int h)
Return a copy of the source image src blurred according to the parameters using the Gaussian Blur algorithm.
void gdImageCopyMerge (gdImagePtr dst,
gdImagePtr src,
int dstX,
int dstY,
int srcX,
int srcY,
int w,
int h,
int pct)
This function is a substitute for real alpha channel operations, so it doesn’t pay attention to the alpha channel.
void gdImageCopyMergeGray (gdImagePtr dst,
gdImagePtr src,
int dstX,
int dstY,
int srcX,
int srcY,
int w,
int h,
int pct)
This function is a substitute for real alpha channel operations, so it doesn’t pay attention to the alpha channel.
void gdImageCopyResampled (gdImagePtr dst,
gdImagePtr src,
int dstX,
int dstY,
int srcX,
int srcY,
int dstW,
int dstH,
int srcW,
int srcH)
void gdImageCopyResized (gdImagePtr dst,
gdImagePtr src,
int dstX,
int dstY,
int srcX,
int srcY,
int dstW,
int dstH,
int srcW,
int srcH)
void gdImageCopyRotated (gdImagePtr dst,
gdImagePtr src,
double dstX,
double dstY,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int angle)
gdImagePtr gdImageCreate (int sx,
int sy)
gdImageCreate is called to create palette-based images, with no more than 256 colors.
gdImagePtr gdImageCreateFromBmp(FILE *inFile)
gdImagePtr gdImageCreateFromBmpCtx(gdIOCtxPtr infile)
gdImagePtr gdImageCreateFromBmpPtr(int size,
void *data)
gdImagePtr gdImageCreateFromFile(const char *filename)
Read an image file of any supported.
gdImagePtr gdImageCreateFromGd (FILE *inFile)
gdImageCreateFromGd is called to load images from gd format files.
gdImagePtr gdImageCreateFromGd2 (FILE *inFile)
gdImageCreateFromGd2 is called to load images from gd2 format files.
gdImagePtr gdImageCreateFromGd2Ctx (gdIOCtxPtr in)
Reads in a GD2 image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromGd2Part (FILE *inFile,
int srcx,
int srcy,
int w,
int h)
gdImageCreateFromGd2Part is called to load parts of images from gd2 format files.
gdImagePtr gdImageCreateFromGd2PartCtx (gdIOCtx *in,
int srcx,
int srcy,
int w,
int h)
gdImagePtr gdImageCreateFromGd2PartPtr (int size,
void *data,
int srcx,
int srcy,
int w,
int h)
gdImagePtr gdImageCreateFromGd2Ptr (int size,
void *data)
gdImagePtr gdImageCreateFromGdCtx (gdIOCtxPtr in)
Reads in a GD image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromGdPtr (int size,
void *data)
gdImagePtr gdImageCreateFromGif(FILE *fdFile)
gdImageCreateFromGif is called to load images from GIF format files.
gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr fd)
See gdImageCreateFromGif.
gdImagePtr gdImageCreateFromGifPtr (int size,
void *data)
gdImagePtr gdImageCreateFromJpeg(FILE *inFile)
See gdImageCreateFromJpegEx.
gdImagePtr gdImageCreateFromJpegCtx(gdIOCtx *infile)
See gdImageCreateFromJpeg.
gdImagePtr gdImageCreateFromJpegCtxEx(gdIOCtx *infile,
int ignore_warning)
See gdImageCreateFromJpeg.
gdImagePtr gdImageCreateFromJpegEx(FILE *inFile,
int ignore_warning)
gdImageCreateFromJpegEx is called to load truecolor images from JPEG format files.
gdImagePtr gdImageCreateFromJpegPtr(int size,
void *data)
gdImagePtr gdImageCreateFromJpegPtrEx(int size,
void *data,
int ignore_warning)
gdImagePtr gdImageCreateFromPng (FILE *inFile)
gdImageCreateFromPng is called to load images from PNG format files.
gdImagePtr gdImageCreateFromPngCtx (gdIOCtx *infile)
See gdImageCreateFromPng.
gdImagePtr gdImageCreateFromPngPtr (int size,
void *data)
See gdImageCreateFromPng.
gdImagePtr gdImageCreateFromPngSource (gdSourcePtr inSource)
See gdImageCreateFromPng for documentation.
gdImagePtr gdImageCreateFromTga(FILE *fp)
Creates a gdImage from a TGA file
gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx *ctx)
Creates a gdImage from a gdIOCtx referencing a TGA binary file.
gdImagePtr gdImageCreateFromTgaPtr(int size,
void *data)
gdImagePtr gdImageCreateFromTiffCtx(gdIOCtx *infile)
Create a gdImage from a TIFF file input from an gdIOCtx.
gdImagePtr gdImageCreateFromTiffPtr(int size,
void *data)
gdImagePtr gdImageCreateFromWBMP(FILE *inFile)
gdImageCreateFromWBMP is called to load images from WBMP format files.
gdImagePtr gdImageCreateFromWBMPCtx(gdIOCtx *infile)
Reads in a WBMP image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromWBMPPtr(int size,
void *data)
gdImagePtr gdImageCreateFromXbm(FILE *fd)
gdImageCreateFromXbm is called to load images from X bitmap format files.
gdImagePtr gdImageCreateFromXpm(char *filename)
gdImageCreateFromXbm is called to load images from XPM X Window System color bitmap format files.
gdImagePtr gdImageCreatePaletteFromTrueColor (gdImagePtr im,
int dither,
int colorsWanted)
gdImagePtr gdImageCreateTrueColor (int sx,
int sy)
gdImageCreateTrueColor is called to create truecolor images, with an essentially unlimited number of colors.
gdImagePtr gdImageCrop(gdImagePtr src,
const gdRect *crop)
gdImagePtr gdImageCropAuto(gdImagePtr im,
const unsigned int mode)
gdImagePtr gdImageCropThreshold(gdImagePtr im,
const unsigned int color,
const float threshold)
void gdImageDashedLine (gdImagePtr im,
int x1,
int y1,
int x2,
int y2,
int color)
void gdImageDestroy (gdImagePtr im)
gdImageDestroy is used to free the memory associated with an image.
int gdImageEdgeDetectQuick(gdImagePtr src)
void gdImageEllipse(gdImagePtr im,
int mx,
int my,
int w,
int h,
int c)
int gdImageEmboss(gdImagePtr im)
int gdImageFile(gdImagePtr im,
const char *filename)
Writes an image to a file in the format indicated by the filename.
void gdImageFill(gdImagePtr im,
int x,
int y,
int nc)
void gdImageFilledArc (gdImagePtr im,
int cx,
int cy,
int w,
int h,
int s,
int e,
int color,
int style)
void gdImageFilledEllipse (gdImagePtr im,
int mx,
int my,
int w,
int h,
int c)
void gdImageFilledPolygon (gdImagePtr im,
gdPointPtr p,
int n,
int c)
void gdImageFilledRectangle (gdImagePtr im,
int x1,
int y1,
int x2,
int y2,
int color)
void gdImageFillToBorder (gdImagePtr im,
int x,
int y,
int border,
int color)
void gdImageFlipBoth(gdImagePtr im)
void gdImageFlipHorizontal(gdImagePtr im)
void gdImageFlipVertical(gdImagePtr im)
int gdImageGaussianBlur(gdImagePtr im)
gdImageGaussianBlur performs a Gaussian blur of radius 1 on the image.
void gdImageGd (gdImagePtr im,
FILE *outFile)
void gdImageGd2 (gdImagePtr im,
FILE *outFile,
int cs,
int fmt)
void * gdImageGd2Ptr (gdImagePtr im,
int cs,
int fmt,
int *size)
void * gdImageGdPtr (gdImagePtr im,
int *size)
void gdImageGetClip (gdImagePtr im,
int *x1P,
int *y1P,
int *x2P,
int *y2P)
gdInterpolationMethod gdImageGetInterpolationMethod(gdImagePtr im)
Return the interpolation mode set in ‘im’.
int gdImageGetPixel (gdImagePtr im,
int x,
int y)
int gdImageGetTrueColorPixel (gdImagePtr im,
int x,
int y)
void gdImageGif(gdImagePtr im,
FILE *outFile)
gdImageGif outputs the specified image to the specified file in GIF format.
void gdImageGifAnimAdd(gdImagePtr im,
FILE *outFile,
int LocalCM,
int LeftOfs,
int TopOfs,
int Delay,
int Disposal,
gdImagePtr previm)
This function writes GIF animation frames to GIF animation, which was initialized with gdImageGifAnimBegin.
void gdImageGifAnimAddCtx(gdImagePtr im,
gdIOCtxPtr out,
int LocalCM,
int LeftOfs,
int TopOfs,
int Delay,
int Disposal,
gdImagePtr previm)
Adds an animation frame via a gdIOCtxPtr.
void * gdImageGifAnimAddPtr(gdImagePtr im,
int *size,
int LocalCM,
int LeftOfs,
int TopOfs,
int Delay,
int Disposal,
gdImagePtr previm)
Like gdImageGifAnimAdd (which contains more information) except that it stores the data to write into memory and returns a pointer to it.
void gdImageGifAnimBegin(gdImagePtr im,
FILE *outFile,
int GlobalCM,
int Loops)
This function must be called as the first function when creating a GIF animation.
void gdImageGifAnimBeginCtx(gdImagePtr im,
gdIOCtxPtr out,
int GlobalCM,
int Loops)
Like gdImageGifAnimBegin except that it outputs to gdIOCtx.
void * gdImageGifAnimBeginPtr(gdImagePtr im,
int *size,
int GlobalCM,
int Loops)
Like gdImageGifAnimBegin except that it outputs to a memory buffer.
void gdImageGifAnimEnd(FILE *outFile)
Terminates the GIF file properly.
void gdImageGifAnimEndCtx(gdIOCtx *out)
Like gdImageGifAnimEnd, but writes its data via a gdIOCtx.
void * gdImageGifAnimEndPtr(int *size)
Like gdImageGifAnimEnd (which contains more information) except that it stores the data to write into memory and returns a pointer to it.
void gdImageGifCtx(gdImagePtr im,
gdIOCtxPtr out)
Writes a GIF image via a gdIOCtx.
void * gdImageGifPtr(gdImagePtr im,
int *size)
Identical to gdImageGif except that it returns a pointer to a memory area with the GIF data.
int gdImageGrayScale(gdImagePtr src)
Convert the image src to a grayscale image.
void gdImageInterlace (gdImagePtr im,
int interlaceArg)
void gdImageJpeg(gdImagePtr im,
FILE *outFile,
int quality)
gdImageJpeg outputs the specified image to the specified file in JPEG format.
void gdImageJpegCtx(gdImagePtr im,
gdIOCtx *outfile,
int quality)
Write the image as JPEG data via a gdIOCtx.
void * gdImageJpegPtr(gdImagePtr im,
int *size,
int quality)
Identical to gdImageJpeg except that it returns a pointer to a memory area with the JPEG data.
void gdImageLine (gdImagePtr im,
int x1,
int y1,
int x2,
int y2,
int color)
Bresenham as presented in Foley & Van Dam.
int gdImageMeanRemoval(gdImagePtr im)
int gdImageNegate(gdImagePtr src)
Invert src image.
gdImagePtr gdImageNeuQuant(gdImagePtr im,
const int max_color,
int sample_factor)
void gdImageOpenPolygon (gdImagePtr im,
gdPointPtr p,
int n,
int c)
void gdImagePaletteCopy (gdImagePtr to,
gdImagePtr from)
int gdImagePaletteToTrueColor(gdImagePtr src)
Convert a palette image to true color.
int gdImagePixelate(gdImagePtr im,
int block_size,
const unsigned int mode)
void gdImagePng (gdImagePtr im,
FILE *outFile)
Equivalent to calling gdImagePngEx with compression of -1.
void gdImagePngCtx (gdImagePtr im,
gdIOCtx *outfile)
Equivalent to calling gdImagePngCtxEx with compression of -1.
Outputs the given image as PNG data, but using a gdIOCtx instead of a file.
void gdImagePngEx (gdImagePtr im,
FILE *outFile,
int level)
gdImagePngEx outputs the specified image to the specified file in PNG format.
void * gdImagePngPtr (gdImagePtr im,
int *size)
Equivalent to calling gdImagePngPtrEx with compression of -1.
void * gdImagePngPtrEx (gdImagePtr im,
int *size,
int level)
Identical to gdImagePngEx except that it returns a pointer to a memory area with the PNG data.
void gdImagePngToSink (gdImagePtr im,
gdSinkPtr outSink)
void gdImagePolygon (gdImagePtr im,
gdPointPtr p,
int n,
int c)
void gdImageRectangle (gdImagePtr im,
int x1,
int y1,
int x2,
int y2,
int color)
gdImagePtr gdImageRotateInterpolated(const gdImagePtr src,
const float angle,
int bgcolor)
void gdImageSaveAlpha (gdImagePtr im,
int saveAlphaArg)
gdImagePtr gdImageScale(const gdImagePtr src,
const unsigned int new_width,
const unsigned int new_height)
int gdImageScatter(gdImagePtr im,
int sub,
int plus)
int gdImageScatterColor(gdImagePtr im,
int sub,
int plus,
int colors[],
unsigned int num_colors)
int gdImageScatterEx(gdImagePtr im,
gdScatterPtr scatter)
int gdImageSelectiveBlur(gdImagePtr src)
void gdImageSetAntiAliased (gdImagePtr im,
int c)
void gdImageSetAntiAliasedDontBlend (gdImagePtr im,
int c,
int dont_blend)
void gdImageSetBrush (gdImagePtr im,
gdImagePtr brush)
void gdImageSetClip (gdImagePtr im,
int x1,
int y1,
int x2,
int y2)
int gdImageSetInterpolationMethod(gdImagePtr im,
gdInterpolationMethod id)
void gdImageSetPixel (gdImagePtr im,
int x,
int y,
int color)
void gdImageSetResolution(gdImagePtr im,
const unsigned int res_x,
const unsigned int res_y)
void gdImageSetStyle (gdImagePtr im,
int *style,
int noOfPixels)
void gdImageSetThickness (gdImagePtr im,
int thickness)
void gdImageSetTile (gdImagePtr im,
gdImagePtr tile)
void gdImageSharpen (gdImagePtr im,
int pct)
Sharpen function added on 2003-11-19 by Paul Troughton (paul<dot>troughton<at>ieee<dot>org) Simple 3x3 convolution kernel Makes use of seperability Faster, but less flexible, than full-blown unsharp masking pct is sharpening percentage, and can be greater than 100 Silently does nothing to non-truecolor images Silently does nothing for pct<0, as not a useful blurring function Leaves transparency/alpha-channel untouched
int gdImageSmooth(gdImagePtr im,
float weight)
gdImagePtr gdImageSquareToCircle (gdImagePtr im,
int radius)
void gdImageString (gdImagePtr im,
gdFontPtr f,
int x,
int y,
unsigned char *s,
int color)
void gdImageString16 (gdImagePtr im,
gdFontPtr f,
int x,
int y,
unsigned short *s,
int color)
char * gdImageStringFT (gdImage *im,
int *brect,
int fg,
char *fontlist,
double ptsize,
double angle,
int x,
int y,
char *string)
Render a utf8 string onto a gd image.
char * gdImageStringFTCircle (gdImagePtr im,
int cx,
int cy,
double radius,
double textRadius,
double fillPortion,
char *font,
double points,
char *top,
char *bottom,
int fgcolor)
gdImageStringFTEx extends the capabilities of gdImageStringFT by providing a way to pass additional parameters.
char * gdImageStringTTF (gdImage *im,
int *brect,
int fg,
char *fontlist,
double ptsize,
double angle,
int x,
int y,
char *string)
void gdImageStringUp (gdImagePtr im,
gdFontPtr f,
int x,
int y,
unsigned char *s,
int color)
void gdImageStringUp16 (gdImagePtr im,
gdFontPtr f,
int x,
int y,
unsigned short *s,
int color)
void gdImageTiff(gdImagePtr im,
FILE *outFile)
void gdImageTiffCtx(gdImagePtr image,
gdIOCtx *out)
Write the gd image as a tiff file.
void * gdImageTiffPtr(gdImagePtr im,
int *size)
int gdImageTrueColorToPalette (gdImagePtr im,
int dither,
int colorsWanted)
int gdImageTrueColorToPaletteSetMethod (gdImagePtr im,
int method,
int speed)
Selects quantization method used for subsequent gdImageTrueColorToPalette calls.
void gdImageTrueColorToPaletteSetQuality (gdImagePtr im,
int min_quality,
int max_quality)
Chooses quality range that subsequent call to gdImageTrueColorToPalette will aim for.
void gdImageWBMP(gdImagePtr im,
int fg,
FILE *outFile)
void gdImageWBMPCtx(gdImagePtr image,
int fg,
gdIOCtx *out)
Write the image as a wbmp file
void * gdImageWBMPPtr(gdImagePtr im,
int *size,
int fg)
void gdImageWebp (gdImagePtr im,
FILE *outFile)
void gdImageWebpEx (gdImagePtr im,
FILE *outFile,
int quantization)
void * gdImageWebpPtr (gdImagePtr im,
int *size)
void * gdImageWebpPtrEx (gdImagePtr im,
int *size,
int quantization)
void gdImageXbmCtx(gdImagePtr image,
char *file_name,
int fg,
gdIOCtx *out)
int gdLayerMultiply (int dst,
int src)
Apply ‘multiply’ effect.
int gdLayerOverlay (int dst,
int src)
int gdMajorVersion()
int gdMinorVersion()
gdIOCtx * gdNewDynamicCtx(int initialSize,
void *data)
Return data as a dynamic pointer.
gdIOCtx * gdNewDynamicCtxEx(int initialSize,
void *data,
int freeOKFlag)
gdIOCtx * gdNewFileCtx(FILE *f)
Return data as a dynamic pointer.
gdIOCtx * gdNewSSCtx(gdSourcePtr src,
gdSinkPtr snk)
Return data as a dynamic pointer.
int gdReleaseVersion()
void gdSetErrorMethod(gdErrorMethod error_method)
int gdSupportsFileType(const char *filename,
int writing)
Tests if a given file type is supported by GD.
int gdTransformAffineBoundingBox(gdRectPtr src,
const double affine[6],
gdRectPtr bbox)
Returns the bounding box of an affine transformation applied to a rectangular area gdRect
int gdTransformAffineCopy(gdImagePtr dst,
int dst_x,
int dst_y,
const gdImagePtr src,
gdRectPtr src_region,
const double affine[6])
Applies an affine transformation to a region and copy the result in a destination to the given position.
int gdTransformAffineGetImage(gdImagePtr *dst,
const gdImagePtr src,
gdRectPtr src_area,
const double affine[6])
Applies an affine transformation to a region and return an image containing the complete transformation.
const char * gdVersionString()
Close