Applies an affine transformation to a point (floating point gdPointF)
int gdAffineApplyToPointF ( gdPointFPtr dst, const gdPointFPtr src, const double affine[6] ) 
Concat (Multiply) two affine transformation matrices.
int gdAffineConcat ( double dst[6], const double m1[6], const double m2[6] ) 
Determines whether two affine transformations are equal.
int gdAffineEqual ( const double m1[6], const double m2[6] ) 
Flip an affine transformation horizontally or vertically.
int gdAffineFlip ( double dst[6], const double src[6], const int flip_h, const int flip_v ) 
Set up the identity matrix.
int gdAffineIdentity ( double dst[6] ) 
Find the inverse of an affine transformation.
int gdAffineInvert ( double dst[6], const double src[6] ) 
Determines whether the affine transformation is axis aligned.
int gdAffineRectilinear ( const double m[6] ) 
Set up a rotation affine transform.
int gdAffineRotate ( double dst[6], const double angle ) 
Set up a scaling matrix.
int gdAffineScale ( double dst[6], const double scale_x, const double scale_y ) 
Set up a horizontal shearing matrix || becomes \\.
int gdAffineShearHorizontal( double dst[6], const double angle ) 
Set up a vertical shearing matrix, columns are untouched.
int gdAffineShearVertical( double dst[6], const double angle ) 
Set up a translation matrix.
int gdAffineTranslate ( double dst[6], const double offset_x, const double offset_y ) 
Blend two colors
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() 
Set up the font cache.
int gdFontCacheSetup ( void ) 
Shut down the font cache and free the allocated resources.
void gdFontCacheShutdown () 
Returns the built-in giant font.
gdFontPtr gdFontGetGiant ( void ) 
Returns the built-in large font.
gdFontPtr gdFontGetLarge ( void ) 
Returns the built-in medium bold font.
gdFontPtr gdFontGetMediumBold ( void ) 
Returns the built-in small font.
gdFontPtr gdFontGetSmall ( void ) 
Returns the built-in tiny font.
gdFontPtr gdFontGetTiny ( void ) 
Frees memory that has been allocated by libgd functions.
void gdFree ( void * ptr ) 
Alias of gdFontCacheShutdown.
void gdFreeFontCache () 
Enable or disable fontconfig by default.
int gdFTUseFontConfig( int flag ) 
NO-OP, kept for library compatibility.
void gdImageAABlend ( gdImagePtr im ) 
Set the effect for subsequent drawing operations
void gdImageAlphaBlending ( gdImagePtr im, int alphaBlendingArg ) 
void gdImageArc ( gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color ) 
gdImageBmp outputs the specified image to the specified file in BMP format.
void gdImageBmp( gdImagePtr im, FILE * outFile, int compression ) 
Outputs the given image as BMP data, but using a gdIOCtx instead of a file.
void gdImageBmpCtx( gdImagePtr im, gdIOCtxPtr out, int compression ) 
Outputs the given image as BMP data, but using a gdIOCtx instead of a file.
void * gdImageBmpPtr( gdImagePtr im, int * size, int compression ) 
int gdImageBoundsSafe ( gdImagePtr im, int x, int y ) 
Change the brightness of an image
int gdImageBrightness( gdImagePtr src, int brightness ) 
Draws a single character.
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 ) 
Clones an image
gdImagePtr gdImageClone ( gdImagePtr src ) 
Change channel values of an image
int gdImageColor( gdImagePtr src, const int red, const int green, const int blue, const int alpha ) 
Allocates a color
int gdImageColorAllocate ( gdImagePtr im, int r, int g, int b ) 
Allocates a color
int gdImageColorAllocateAlpha ( gdImagePtr im, int r, int g, int b, int a ) 
Gets the closest color of the image
int gdImageColorClosest ( gdImagePtr im, int r, int g, int b ) 
Gets the closest color of the image
int gdImageColorClosestAlpha ( gdImagePtr im, int r, int g, int b, int a ) 
int gdImageColorClosestHWB ( gdImagePtr im, int r, int g, int b ) 
Removes a palette entry
void gdImageColorDeallocate ( gdImagePtr im, int color ) 
Gets the exact color of the image
int gdImageColorExact ( gdImagePtr im, int r, int g, int b ) 
Gets the exact color of the image
int gdImageColorExactAlpha ( gdImagePtr im, int r, int g, int b, int a ) 
Bring the palette colors in im2 to be closer to im1.
int gdImageColorMatch ( gdImagePtr im1, gdImagePtr im2 ) 
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 ) 
gdImageColorResolve is an alternative for the code fragment
int gdImageColorResolve ( gdImagePtr im, int r, int g, int b ) 
int gdImageColorResolveAlpha ( gdImagePtr im, int r, int g, int b, int a ) 
Sets the transparent color of the image
void gdImageColorTransparent ( gdImagePtr im, int color ) 
Compare two images
int gdImageCompare ( gdImagePtr im1, gdImagePtr im2 ) 
Change the contrast of an image
int gdImageContrast( gdImagePtr src, double contrast ) 
Apply a convolution matrix to an image
int gdImageConvolution( gdImagePtr src, float filter[3][3], float filter_div, float offset ) 
Copy an area of an image to another image
void gdImageCopy ( gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h ) 
Copy an area of an image to another image ignoring alpha
void gdImageCopyMerge ( gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct ) 
Copy an area of an image to another image ignoring alpha
void gdImageCopyMergeGray ( gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct ) 
Copy a resampled area from an image to another image
void gdImageCopyResampled ( gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH ) 
Copy a resized area from an image to another image
void gdImageCopyResized ( gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH ) 
Copy a rotated area from an image to another image
void gdImageCopyRotated ( gdImagePtr dst, gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle ) 
gdImageCreate is called to create palette-based images, with no more than 256 colors.
gdImagePtr gdImageCreate ( int sx, int sy ) 
gdImagePtr gdImageCreateFromBmp( FILE * inFile ) 
gdImagePtr gdImageCreateFromBmpCtx( gdIOCtxPtr infile ) 
gdImagePtr gdImageCreateFromBmpPtr( int size, void * data ) 
Read an image file of any supported.
gdImagePtr gdImageCreateFromFile( const char * filename ) 
gdImageCreateFromGd is called to load images from gd format files.
gdImagePtr gdImageCreateFromGd ( FILE * inFile ) 
gdImageCreateFromGd2 is called to load images from gd2 format files.
gdImagePtr gdImageCreateFromGd2 ( FILE * inFile ) 
Reads in a GD2 image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromGd2Ctx ( gdIOCtxPtr in ) 
gdImageCreateFromGd2Part is called to load parts of images from gd2 format files.
gdImagePtr gdImageCreateFromGd2Part ( FILE * inFile, int srcx, int srcy, int w, int h ) 
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 ) 
Reads in a GD image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromGdCtx ( gdIOCtxPtr in ) 
gdImagePtr gdImageCreateFromGdPtr ( int size, void * data ) 
gdImageCreateFromGif is called to load images from GIF format files.
gdImagePtr gdImageCreateFromGif( FILE * fdFile ) 
See gdImageCreateFromGif.
gdImagePtr gdImageCreateFromGifCtx( gdIOCtxPtr fd ) 
gdImagePtr gdImageCreateFromGifPtr ( int size, void * data ) 
See gdImageCreateFromJpegEx.
gdImagePtr gdImageCreateFromJpeg( FILE * inFile ) 
See gdImageCreateFromJpeg.
gdImagePtr gdImageCreateFromJpegCtx( gdIOCtx * infile ) 
See gdImageCreateFromJpeg.
gdImagePtr gdImageCreateFromJpegCtxEx( gdIOCtx * infile, int ignore_warning ) 
gdImageCreateFromJpegEx is called to load truecolor images from JPEG format files.
gdImagePtr gdImageCreateFromJpegEx( FILE * inFile, int ignore_warning ) 
gdImagePtr gdImageCreateFromJpegPtr( int size, void * data ) 
gdImagePtr gdImageCreateFromJpegPtrEx( int size, void * data, int ignore_warning ) 
gdImageCreateFromPng is called to load images from PNG format files.
gdImagePtr gdImageCreateFromPng ( FILE * inFile ) 
See gdImageCreateFromPng.
gdImagePtr gdImageCreateFromPngCtx ( gdIOCtx * infile ) 
See gdImageCreateFromPng.
gdImagePtr gdImageCreateFromPngPtr ( int size, void * data ) 
See gdImageCreateFromPng for documentation.
gdImagePtr gdImageCreateFromPngSource ( gdSourcePtr inSource ) 
Creates a gdImage from a TGA file
gdImagePtr gdImageCreateFromTga( FILE * fp ) 
Creates a gdImage from a gdIOCtx referencing a TGA binary file.
gdImagePtr gdImageCreateFromTgaCtx( gdIOCtx * ctx ) 
gdImagePtr gdImageCreateFromTgaPtr( int size, void * data ) 
Create a gdImage from a TIFF file input from an gdIOCtx.
gdImagePtr gdImageCreateFromTiffCtx( gdIOCtx * infile ) 
gdImagePtr gdImageCreateFromTiffPtr( int size, void * data ) 
gdImageCreateFromWBMP is called to load images from WBMP format files.
gdImagePtr gdImageCreateFromWBMP( FILE * inFile ) 
Reads in a WBMP image via a gdIOCtx struct.
gdImagePtr gdImageCreateFromWBMPCtx( gdIOCtx * infile ) 
gdImagePtr gdImageCreateFromWBMPPtr( int size, void * data ) 
gdImageCreateFromWebp is called to load truecolor images from WebP format files.
gdImagePtr gdImageCreateFromWebp ( FILE * inFile ) 
See gdImageCreateFromWebp.
gdImagePtr gdImageCreateFromWebpCtx ( gdIOCtx * infile ) 
See gdImageCreateFromWebp.
gdImagePtr gdImageCreateFromWebpPtr ( int size, void * data ) 
gdImageCreateFromXbm is called to load images from X bitmap format files.
gdImagePtr gdImageCreateFromXbm( FILE * fd ) 
gdImageCreateFromXbm is called to load images from XPM X Window System color bitmap format files.
gdImagePtr gdImageCreateFromXpm( char * filename ) 
Creates a new palette image from a truecolor image
gdImagePtr gdImageCreatePaletteFromTrueColor ( gdImagePtr im, int dither, int colorsWanted ) 
gdImageCreateTrueColor is called to create truecolor images, with an essentially unlimited number of colors.
gdImagePtr gdImageCreateTrueColor ( int sx, int sy ) 
Crop an image to a given rectangle
gdImagePtr gdImageCrop( gdImagePtr src, const gdRect * crop ) 
Crop an image automatically
gdImagePtr gdImageCropAuto( gdImagePtr im, const unsigned int mode ) 
Crop an image using a given color
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 ) 
gdImageDestroy is used to free the memory associated with an image.
void gdImageDestroy ( gdImagePtr im ) 
Edge detection of an image
int gdImageEdgeDetectQuick( gdImagePtr src ) 
void gdImageEllipse( gdImagePtr im, int mx, int my, int w, int h, int c ) 
Emboss an image
int gdImageEmboss( gdImagePtr im ) 
Writes an image to a file in the format indicated by the filename.
int gdImageFile( gdImagePtr im, const char * 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 ) 
Draws a filled polygon
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 ) 
Flip an image vertically and horizontally
void gdImageFlipBoth( gdImagePtr im ) 
Flip an image horizontally
void gdImageFlipHorizontal( gdImagePtr im ) 
Flip an image vertically
void gdImageFlipVertical( gdImagePtr im ) 
gdImageGaussianBlur performs a Gaussian blur of radius 1 on the image.
int gdImageGaussianBlur( gdImagePtr im ) 
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 ) 
Gets the current clipping rectangle
void gdImageGetClip ( gdImagePtr im, int * x1P, int * y1P, int * x2P, int * y2P ) 
Get the current interpolation method
gdInterpolationMethod gdImageGetInterpolationMethod( gdImagePtr im ) 
Gets a pixel color as stored in the image.
int gdImageGetPixel ( gdImagePtr im, int x, int y ) 
Gets a pixel color always as truecolor value.
int gdImageGetTrueColorPixel ( gdImagePtr im, int x, int y ) 
gdImageGif outputs the specified image to the specified file in GIF format.
void gdImageGif( gdImagePtr im, FILE * outFile ) 
This function writes GIF animation frames to GIF animation, which was initialized with gdImageGifAnimBegin.
void gdImageGifAnimAdd( gdImagePtr im, FILE * outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm ) 
Adds an animation frame via a gdIOCtxPtr.
void gdImageGifAnimAddCtx( gdImagePtr im, gdIOCtxPtr out, 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 * gdImageGifAnimAddPtr( gdImagePtr im, int * size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm ) 
This function must be called as the first function when creating a GIF animation.
void gdImageGifAnimBegin( gdImagePtr im, FILE * outFile, int GlobalCM, int Loops ) 
Like gdImageGifAnimBegin except that it outputs to gdIOCtx.
void gdImageGifAnimBeginCtx( gdImagePtr im, gdIOCtxPtr out, int GlobalCM, int Loops ) 
Like gdImageGifAnimBegin except that it outputs to a memory buffer.
void * gdImageGifAnimBeginPtr( gdImagePtr im, int * size, int GlobalCM, int Loops ) 
Terminates the GIF file properly.
void gdImageGifAnimEnd( FILE * outFile ) 
Like gdImageGifAnimEnd, but writes its data via a gdIOCtx.
void gdImageGifAnimEndCtx( gdIOCtx * out ) 
Like gdImageGifAnimEnd (which contains more information) except that it stores the data to write into memory and returns a pointer to it.
void * gdImageGifAnimEndPtr( int * size ) 
Writes a GIF image via a gdIOCtx.
void gdImageGifCtx( gdImagePtr im, gdIOCtxPtr out ) 
Identical to gdImageGif except that it returns a pointer to a memory area with the GIF data.
void * gdImageGifPtr( gdImagePtr im, int * size ) 
Convert an image to grayscale
int gdImageGrayScale( gdImagePtr src ) 
Sets whether an image is interlaced
void gdImageInterlace ( gdImagePtr im, int interlaceArg ) 
gdImageJpeg outputs the specified image to the specified file in JPEG format.
void gdImageJpeg( gdImagePtr im, FILE * outFile, int quality ) 
Write the image as JPEG data via a gdIOCtx.
void gdImageJpegCtx( gdImagePtr im, gdIOCtx * outfile, int quality ) 
Identical to gdImageJpeg except that it returns a pointer to a memory area with the JPEG data.
void * gdImageJpegPtr( gdImagePtr im, int * size, int quality ) 
Bresenham as presented in Foley & Van Dam.
void gdImageLine ( gdImagePtr im, int x1, int y1, int x2, int y2, int color ) 
Mean removal of an image
int gdImageMeanRemoval( gdImagePtr im ) 
Invert an image
int gdImageNegate( gdImagePtr src ) 
Creates a new palette image from a truecolor image
gdImagePtr gdImageNeuQuant( gdImagePtr im, const int max_color, int sample_factor ) 
Draws an open polygon
void gdImageOpenPolygon ( gdImagePtr im, gdPointPtr p, int n, int c ) 
void gdImagePaletteCopy ( gdImagePtr to, gdImagePtr from ) 
Convert a palette image to true color
int gdImagePaletteToTrueColor( gdImagePtr src ) 
int gdImagePixelate( gdImagePtr im, int block_size, const unsigned int mode ) 
Equivalent to calling gdImagePngEx with compression of -1.
void gdImagePng ( gdImagePtr im, FILE * outFile ) 
Equivalent to calling gdImagePngCtxEx with compression of -1.
void gdImagePngCtx ( gdImagePtr im, gdIOCtx * outfile ) 
Outputs the given image as PNG data, but using a gdIOCtx instead of a file.
void gdImagePngCtxEx ( gdImagePtr im, gdIOCtx * outfile, int level ) 
gdImagePngEx outputs the specified image to the specified file in PNG format.
void gdImagePngEx ( gdImagePtr im, FILE * outFile, int level ) 
Equivalent to calling gdImagePngPtrEx with compression of -1.
void * gdImagePngPtr ( gdImagePtr im, int * size ) 
Identical to gdImagePngEx except that it returns a pointer to a memory area with the PNG data.
void * gdImagePngPtrEx ( gdImagePtr im, int * size, int level ) 
void gdImagePngToSink ( gdImagePtr im, gdSinkPtr outSink ) 
Draws a closed polygon
void gdImagePolygon ( gdImagePtr im, gdPointPtr p, int n, int c ) 
Draws a rectangle.
void gdImageRectangle ( gdImagePtr im, int x1, int y1, int x2, int y2, int color ) 
Rotate an image
gdImagePtr gdImageRotateInterpolated( const gdImagePtr src, const float angle, int bgcolor ) 
Sets the save alpha flag
void gdImageSaveAlpha ( gdImagePtr im, int saveAlphaArg ) 
Scale an image
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 ) 
Set the color for subsequent anti-aliased drawing
void gdImageSetAntiAliased ( gdImagePtr im, int c ) 
Set the color and “dont_blend” color for subsequent anti-aliased drawing
void gdImageSetAntiAliasedDontBlend ( gdImagePtr im, int c, int dont_blend ) 
Sets the brush for following drawing operations
void gdImageSetBrush ( gdImagePtr im, gdImagePtr brush ) 
Sets the clipping rectangle
void gdImageSetClip ( gdImagePtr im, int x1, int y1, int x2, int y2 ) 
Set the interpolation method for subsequent operations
int gdImageSetInterpolationMethod( gdImagePtr im, gdInterpolationMethod id ) 
void gdImageSetPixel ( gdImagePtr im, int x, int y, int color ) 
Sets the resolution of an image.
void gdImageSetResolution( gdImagePtr im, const unsigned int res_x, const unsigned int res_y ) 
Sets the style for following drawing operations
void gdImageSetStyle ( gdImagePtr im, int * style, int noOfPixels ) 
Sets the thickness for following drawing operations
void gdImageSetThickness ( gdImagePtr im, int thickness ) 
void gdImageSetTile ( gdImagePtr im, gdImagePtr tile ) 
Sharpen an image.
void gdImageSharpen ( gdImagePtr im, int pct ) 
Smooth an image
int gdImageSmooth( gdImagePtr im, float weight ) 
Apply polar coordinate transformation to an image.
gdImagePtr gdImageSquareToCircle ( gdImagePtr im, int radius ) 
Draws a character string.
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 ) 
Render an UTF-8 string onto a gd image.
char * gdImageStringFT ( gdImage * im, int * brect, int fg, const char * fontlist, double ptsize, double angle, int x, int y, const char * string ) 
Draw text curved along the top and bottom of a circular area of an 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 ) 
Alias of gdImageStringFT.
char * gdImageStringTTF ( gdImage * im, int * brect, int fg, const char * fontlist, double ptsize, double angle, int x, int y, const 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 ) 
Write the gd image as a tiff file.
void gdImageTiffCtx( gdImagePtr image, gdIOCtx * out ) 
void * gdImageTiffPtr( gdImagePtr im, int * size ) 
Converts a truecolor image to a palette image
int gdImageTrueColorToPalette ( gdImagePtr im, int dither, int colorsWanted ) 
Selects the quantization method
int gdImageTrueColorToPaletteSetMethod ( gdImagePtr im, int method, int speed ) 
Chooses a quality range for quantization
void gdImageTrueColorToPaletteSetQuality ( gdImagePtr im, int min_quality, int max_quality ) 
void gdImageWBMP( gdImagePtr im, int fg, FILE * outFile ) 
Write the image as a wbmp file
void gdImageWBMPCtx( gdImagePtr image, int fg, gdIOCtx * out ) 
void * gdImageWBMPPtr( gdImagePtr im, int * size, int fg ) 
Variant of gdImageWebpEx which uses the default quality (-1).
void gdImageWebp ( gdImagePtr im, FILE * outFile ) 
Write the image as WebP data via a gdIOCtx.
void gdImageWebpCtx ( gdImagePtr im, gdIOCtx * outfile, int quality ) 
gdImageWebpEx outputs the specified image to the specified file in WebP format.
void gdImageWebpEx ( gdImagePtr im, FILE * outFile, int quality ) 
See gdImageWebpEx.
void * gdImageWebpPtr ( gdImagePtr im, int * size ) 
See gdImageWebpEx.
void * gdImageWebpPtrEx ( gdImagePtr im, int * size, int quality ) 
Writes an image to an IO context in X11 bitmap format.
void gdImageXbmCtx( gdImagePtr image, char * file_name, int fg, gdIOCtx * out ) 
Overlay two colors with multiply effect
int gdLayerMultiply ( int dst, int src ) 
Overlay two colors
int gdLayerOverlay ( int dst, int src ) 
int gdMajorVersion() 
int gdMinorVersion() 
Return data as a dynamic pointer.
gdIOCtx * gdNewDynamicCtx( int initialSize, void * data ) 
gdIOCtx * gdNewDynamicCtxEx( int initialSize, void * data, int freeOKFlag ) 
Return data as a dynamic pointer.
gdIOCtx * gdNewFileCtx( FILE * f ) 
Return data as a dynamic pointer.
gdIOCtx * gdNewSSCtx( gdSourcePtr src, gdSinkPtr snk ) 
int gdReleaseVersion() 
void gdSetErrorMethod( gdErrorMethod error_method ) 
Tests if a given file type is supported by GD.
int gdSupportsFileType( const char * filename, int writing ) 
Returns the bounding box of an affine transformation applied to a rectangular area gdRect
int gdTransformAffineBoundingBox( gdRectPtr src, const double affine[6], gdRectPtr bbox ) 
Applies an affine transformation to a region and copy the result in a destination to the given position.
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 return an image containing the complete transformation.
int gdTransformAffineGetImage( gdImagePtr * dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6] ) 
const char * gdVersionString() 
get the index of the image’s colors
static int getPixelRgbInterpolated( gdImagePtr im, const int tcolor )