Main Page | Modules | Class List | File List | Class Members | File Members

Convert an image
[Image Package]


Functions

Gan_Imagegan_image_swap_RandB_q (Gan_Image *source, Gan_Image *dest)
 Converts an image ARGB to RGBA, returning a new image.
Gan_Imagegan_image_convert_ARGBtoRGBA_q (Gan_Image *source, Gan_Image *dest)
 Converts an image ARGB to RGBA, returning a new image.
Gan_Imagegan_image_convert_RGBAtoARGB_q (Gan_Image *source, Gan_Image *dest)
 Converts an image RGBA to ARGB, returning a new image.
Gan_Imagegan_image_convert_q (const Gan_Image *source, Gan_ImageFormat format, Gan_Type type, Gan_Image *dest)
 Macro: Converts an image from one format/type to another.
Gan_Imagegan_image_convert_s (const Gan_Image *source, Gan_ImageFormat format, Gan_Type type)
 Macro: Converts an image from one format/type to another.
Gan_Imagegan_image_swap_RandB_s (Gan_Image *source)
 Macro: Swaps R & B in an RGB image, returning a new image.
Gan_Imagegan_image_swap_RandB_i (Gan_Image *img)
 Macro: Swaps R & B in an RGB image in-place.
Gan_Imagegan_image_convert_RGBAtoARGB_s (Gan_Image *source)
 Macro: Converts an image RGBA to ARGB, returning a new image.
Gan_Imagegan_image_convert_RGBAtoARGB_i (Gan_Image *img)
 Macro: Converts an image RGBA to ARGB in-place.
Gan_Imagegan_image_convert_ARGBtoRGBA_s (Gan_Image *source)
 Macro: Converts an image ARGB to RGBA, returning a new image.
Gan_Imagegan_image_convert_ARGBtoRGBA_i (Gan_Image *img)
 Macro: Converts an image ARGB to RGBA in-place.

Function Documentation

Gan_Image* gan_image_convert_ARGBtoRGBA_i Gan_Image img  ) 
 

Macro: Converts an image ARGB to RGBA in-place.

Parameters:
img The input/output image
Returns:
Pointer to the converted RGBA image, or NULL on failure.

Gan_Image * gan_image_convert_ARGBtoRGBA_q Gan_Image source,
Gan_Image dest
 

Converts an image ARGB to RGBA, returning a new image.

Parameters:
source The input image
dest The output image
Returns:
Pointer to the converted RGBA image, or NULL on failure.

Gan_Image* gan_image_convert_ARGBtoRGBA_s Gan_Image source  ) 
 

Macro: Converts an image ARGB to RGBA, returning a new image.

Parameters:
source The input image
Returns:
Pointer to the converted RGBA image, or NULL on failure.

Gan_Image* gan_image_convert_q const Gan_Image source,
Gan_ImageFormat  format,
Gan_Type  type,
Gan_Image dest
 

Macro: Converts an image from one format/type to another.

Parameters:
source The input image
format The format of the output image
type The type of the output image
dest Destination image
Returns:
Pointer to the converted image, or NULL on failure.
Applies the relevant pixel-by-pixel conversion to convert an image from one format/type to another. This is a macro call to gan_image_extract_q().

See also:
gan_image_convert_s().

Gan_Image* gan_image_convert_RGBAtoARGB_i Gan_Image img  ) 
 

Macro: Converts an image RGBA to ARGB in-place.

Parameters:
img The input/output image
Returns:
Pointer to the converted ARGB image, or NULL on failure.

Gan_Image * gan_image_convert_RGBAtoARGB_q Gan_Image source,
Gan_Image dest
 

Converts an image RGBA to ARGB, returning a new image.

Parameters:
source The input image
dest The output image
Returns:
Pointer to the converted ARGB image, or NULL on failure.

Gan_Image* gan_image_convert_RGBAtoARGB_s Gan_Image source  ) 
 

Macro: Converts an image RGBA to ARGB, returning a new image.

Parameters:
source The input image
Returns:
Pointer to the converted ARGB image, or NULL on failure.

Gan_Image* gan_image_convert_s const Gan_Image source,
Gan_ImageFormat  format,
Gan_Type  type
 

Macro: Converts an image from one format/type to another.

Parameters:
source The input image
format The format of the output image
type The type of the output image
Returns:
Pointer to the converted image, or NULL on failure.
Applies the relevant pixel-by-pixel conversion to convert an image from one format/type to another. This is a macro call to gan_image_convert_q().

See also:
gan_image_convert_q().

Gan_Image* gan_image_swap_RandB_i Gan_Image img  ) 
 

Macro: Swaps R & B in an RGB image in-place.

Parameters:
img The input/output image
Returns:
Pointer to the converted image, or NULL on failure.

Gan_Image * gan_image_swap_RandB_q Gan_Image source,
Gan_Image dest
 

Converts an image ARGB to RGBA, returning a new image.

Parameters:
source The input image
dest The output image
Returns:
Pointer to the converted RGBA image, or NULL on failure.

Gan_Image* gan_image_swap_RandB_s Gan_Image source  ) 
 

Macro: Swaps R & B in an RGB image, returning a new image.

Parameters:
source The input image
Returns:
Pointer to the converted image, or NULL on failure.


Generated on Fri Mar 17 12:45:01 2006 by  doxygen 1.3.9.1