Static Methods:
startup
freeall
color
color (version 2)
unsigned int gm::color(unsigned char red,unsigned char green,unsigned char blue)
color (version 3)
unsigned int gm::color(unsigned char red,unsigned char green,unsigned char blue,unsigned char alpha)
createThumbnailFile
Versions for (char *) UTF-8 strings:
createThumbnailFile (version 1)
int gm::createThumbnailFile(const char *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor,const char *ext)
createThumbnailFile (version 2)
int gm::createThumbnailFile(const char *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor)
createThumbnailFile (version 5)
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor)
createThumbnailFile (version 7)
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor,const char *ext)
createThumbnailFile (version 8)
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor,const char *ext)
Versions for (wchar_t *) strings:
createThumbnailFile (version 1w)
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor,const wchar_t *ext)
createThumbnailFile (version 2w)
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor)
createThumbnailFile (version 5w)
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor)
createThumbnailFile (version 7w)
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor,const wchar_t *ext)
createThumbnailFile (version 8w)
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor,const wchar_t *ext)
Static Methods
startup (version 1)
Calls InitializeMagick().
Signature:
int gm::startup()
Return value:Returns 0
startup (version 2)
Calls InitializeMagick().
Signature:
int gm::startup(const char *path)
Parameters:
| const char * | path | | The current execution path |
Return value:Returns 0
freeall
Calls DestroyMagick().
Signature:
int gm::freeall()
Return value:Returns 0
color (version 1)
Returns a color value.
Signature:
unsigned int gm::color(unsigned char gray)
Parameters:
| unsigned char | gray | | The gray value. |
Return value:Returns the color value.
color (version 2)
Returns a color value.
Signature:
unsigned int gm::color(unsigned char red,unsigned char green,unsigned char blue)
Parameters:
| unsigned char | red | | The red value. |
| unsigned char | green | | The green value. |
| unsigned char | blue | | The blue value. |
Return value:Returns the color value.
color (version 3)
Returns a color value.
Signature:
unsigned int gm::color(unsigned char red,unsigned char green,unsigned char blue,unsigned char alpha)
Parameters:
| unsigned char | red | | The red value. |
| unsigned char | green | | The green value. |
| unsigned char | blue | | The blue value. |
| unsigned char | alpha | | The alpha value. |
Return value:Returns the color value.
createThumbnailFile (version 1)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor,const char *ext)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmin | | xxmin |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymin | | yymin |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
| const char * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 2)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmin | | xxmin |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymin | | yymin |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 3)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 4)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 5)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | min_padding | | min_padding |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 6)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,const char *ext)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| const char * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 7)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor,const char *ext)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
| const char * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 8)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const char *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor,const char *ext)
Parameters:
| const char * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | min_padding | | min_padding |
| unsigned int | backgroundColor | | backgroundColor |
| const char * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 1w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor,const wchar_t *ext)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmin | | xxmin |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymin | | yymin |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
| const wchar_t * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 2w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmin,unsigned int xxmax,unsigned int yymin,unsigned int yymax,unsigned int backgroundColor)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmin | | xxmin |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymin | | yymin |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 3w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 4w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 5w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | min_padding | | min_padding |
| unsigned int | backgroundColor | | backgroundColor |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 6w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,const wchar_t *ext)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| const wchar_t * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 7w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int backgroundColor,const wchar_t *ext)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | backgroundColor | | backgroundColor |
| const wchar_t * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.
createThumbnailFile (version 8w)
Creates a thumbnail image of a given image file.
Signature:
int gm::createThumbnailFile(const wchar_t *filename,unsigned int xxmax,unsigned int yymax,unsigned int min_padding,unsigned int backgroundColor,const wchar_t *ext)
Parameters:
| const wchar_t * | filename | [IN] | Filename of the input image file. |
| unsigned int | xxmax | | xxmax |
| unsigned int | yymax | | yymax |
| unsigned int | min_padding | | min_padding |
| unsigned int | backgroundColor | | backgroundColor |
| const wchar_t * | ext | [IN] | ext |
Return value:Returns 0 in case of no errors otherwise some value other than 0.