- wxImage
Creates an image with the given size and clears it if requested.
- Blur
Blurs the image in both horizontal and vertical directions by the specified pixel blurRadius.
- BlurHorizontal
Blurs the image in the horizontal direction only.
- BlurVertical
Blurs the image in the vertical direction only.
- Clear
Initialize the image data with zeroes (the default) or with the byte value given as value.
- ClearAlpha
Removes the alpha channel from the image.
- ConvertAlphaToMask
If the image has alpha channel, this method converts it to mask using the specified colour as the mask colour.
- ConvertToDisabled
Returns disabled (dimmed) version of the image.
- ConvertToGreyscale
Returns a greyscale version of the image.
- ConvertToMono
Returns monochromatic version of the image.
- Copy
Returns an identical copy of this image.
- Create
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Destroy
Destroys the image data.
- FindFirstUnusedColour
Finds the first colour that is never used in the image.
- GetAlpha
Return alpha value at given pixel location.
- GetBlue
Returns the blue intensity at the given coordinate.
- GetData
Returns the image data as an array.
- GetGreen
Returns the green intensity at the given coordinate.
- GetHeight
Gets the height of the image in pixels.
- GetMaskBlue
Gets the blue value of the mask colour.
- GetMaskGreen
Gets the green value of the mask colour.
- GetMaskRed
Gets the red value of the mask colour.
- GetOption
Gets a user-defined string-valued option.
- GetOptionInt
Gets a user-defined integer-valued option.
- GetOrFindMaskColour
Get the current mask colour or find a suitable unused colour that could be used as a mask colour.
- GetPalette
Returns the palette associated with the image.
- GetRed
Returns the red intensity at the given coordinate.
- GetSize
Returns the size of the image in pixels.
- GetSubImage
Returns a sub image of the current one as long as the rect belongs entirely to the image.
- GetType
Gets the type of image found by LoadFile() or specified with SaveFile().
- GetWidth
Gets the width of the image in pixels.
- HasAlpha
Returns true if this image has alpha channel, false otherwise.
- HasMask
Returns true if there is a mask active, false otherwise.
- HasOption
Returns true if the given option is present.
- InitAlpha
Initializes the image alpha channel data.
- IsOk
Returns true if image data is present.
- IsTransparent
Returns true if the given pixel is transparent, i.e. either has the mask colour if this image has a mask or if this image has alpha channel and alpha value of this pixel is strictly less than threshold.
- LoadFile
Loads an image from an input stream.
- Mirror
Returns a mirrored copy of the image.
- Paste
Copy the data of the given image to the specified position in this image.
- Replace
Replaces the colour specified by r1,g1,b1 by the colour r2,g2,b2.
- Rescale
Changes the size of the image in-place by scaling it: after a call to this function,the image will have the given width and height.
- Resize
Changes the size of the image in-place without scaling it by adding either a border with the given colour or cropping as necessary.
- Rotate
Rotates the image about the given point, by angle radians.
- Rotate180
Returns a copy of the image rotated by 180 degrees.
- Rotate90
Returns a copy of the image rotated 90 degrees in the direction indicated by clockwise.
- RotateHue
Rotates the hue of each pixel in the image by angle, which is a double in the range of -1.0 to +1.0, where -1.0 corresponds to -360 degrees and +1.0 corresponds to +360 degrees.
- SaveFile
Saves an image in the given stream.
- Scale
Returns a scaled version of the image.
- SetAlpha
Sets the alpha value for the given pixel.
- SetData
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- SetMask
Specifies whether there is a mask or not.
- SetMaskColour
Sets the mask colour for this image (and tells the image to use the mask).
- SetMaskFromImage
Sets image's mask so that the pixels that have RGB value of mr,mg,mb in mask will be masked in the image.
- SetOption
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- SetPalette
Associates a palette with the image.
- SetRGB
Sets the colour of the pixels within the given rectangle.
- SetType
Set the type of image returned by GetType().
- Size
Returns a resized version of this image without scaling it by adding either a border with the given colour or cropping as necessary.