image.h File Reference

Classes

class  wxImageHandler
 This is the base class for implementing image file loading/saving, and image creation from data. More...
class  wxImage
 This class encapsulates a platform-independent image. More...
class  wxImage::RGBValue
 A simple class which stores red, green and blue values as 8 bit unsigned integers in the range of 0-255. More...
class  wxImage::HSVValue
 A simple class which stores hue, saturation and value as doubles in the range 0.0-1.0. More...

Enumerations

enum  wxImageResolution {
  wxIMAGE_RESOLUTION_NONE = 0,
  wxIMAGE_RESOLUTION_INCHES = 1,
  wxIMAGE_RESOLUTION_CM = 2
}
 

Possible values for the image resolution option.

More...
enum  wxImageResizeQuality {
  wxIMAGE_QUALITY_NEAREST,
  wxIMAGE_QUALITY_BILINEAR,
  wxIMAGE_QUALITY_BICUBIC,
  wxIMAGE_QUALITY_NORMAL,
  wxIMAGE_QUALITY_HIGH
}
 

Image resize algorithm.

More...
enum  wxImagePNGType {
  wxPNG_TYPE_COLOUR = 0,
  wxPNG_TYPE_GREY = 2,
  wxPNG_TYPE_GREY_RED = 3
}
 

Possible values for PNG image type option.

More...

Functions

void wxInitAllImageHandlers ()
 Initializes all available image handlers.

Variables

const unsigned char wxIMAGE_ALPHA_TRANSPARENT = 0
 Constant used to indicate the alpha value conventionally defined as the complete transparency.
const unsigned char wxIMAGE_ALPHA_OPAQUE = 0xff
 Constant used to indicate the alpha value conventionally defined as the complete opacity.
wxImage wxNullImage
 An instance of an empty image without an alpha channel.

Enumeration Type Documentation

Possible values for PNG image type option.

See also:
wxImage::GetOptionInt().
Enumerator:
wxPNG_TYPE_COLOUR 

Colour PNG image.

wxPNG_TYPE_GREY 

Greyscale PNG image converted from RGB.

wxPNG_TYPE_GREY_RED 

Greyscale PNG image using red as grey.

Image resize algorithm.

This is used with wxImage::Scale() and wxImage::Rescale().

Enumerator:
wxIMAGE_QUALITY_NEAREST 

Simplest and fastest algorithm.

wxIMAGE_QUALITY_BILINEAR 

Compromise between wxIMAGE_QUALITY_NEAREST and wxIMAGE_QUALITY_BICUBIC.

wxIMAGE_QUALITY_BICUBIC 

Highest quality but slowest execution time.

wxIMAGE_QUALITY_NORMAL 

Default image resizing algorithm used by wxImage::Scale().

wxIMAGE_QUALITY_HIGH 

Best image resizing algorithm, currently same as wxIMAGE_QUALITY_BICUBIC.

Possible values for the image resolution option.

See also:
wxImage::GetOptionInt().
Enumerator:
wxIMAGE_RESOLUTION_NONE 

Resolution not specified.

wxIMAGE_RESOLUTION_INCHES 

Resolution specified in inches.

wxIMAGE_RESOLUTION_CM 

Resolution specified in centimetres.


Variable Documentation

const unsigned char wxIMAGE_ALPHA_OPAQUE = 0xff

Constant used to indicate the alpha value conventionally defined as the complete opacity.

const unsigned char wxIMAGE_ALPHA_TRANSPARENT = 0

Constant used to indicate the alpha value conventionally defined as the complete transparency.

An instance of an empty image without an alpha channel.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



wxWidgets logo

[ top ]