gdfx.c

Summary
gdfx.c
Functions
gdImageStringFTCircle
gdImageSquareToCircle
gdImageSharpenSharpen 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

Functions

gdImageStringFTCircle

char * gdImageStringFTCircle (gdImagePtr im,
int cx,
int cy,
double radius,
double textRadius,
double fillPortion,
char *font,
double points,
char *top,
char *bottom,
int fgcolor)

gdImageSquareToCircle

gdImagePtr gdImageSquareToCircle (gdImagePtr im,
int radius)

gdImageSharpen

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

char * gdImageStringFTCircle (gdImagePtr im,
int cx,
int cy,
double radius,
double textRadius,
double fillPortion,
char *font,
double points,
char *top,
char *bottom,
int fgcolor)
gdImagePtr gdImageSquareToCircle (gdImagePtr im,
int radius)
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
Close