Blurs the image in both horizontal and vertical directions by the specified pixel blurRadius. This should not be used when using a single mask colour for transparency.
Blurs the image in the horizontal direction only. This should not be used when using a single mask colour for transparency.
Blurs the image in the vertical direction only. This should not be used when using a single mask colour for transparency.
Returns a greyscale version of the image. The returned image uses the luminance component of the original to calculate the greyscale.
Returns monochromatic version of the image. The returned image has white colour where the original has (r,g,b) colour and black colour everywhere else.
Returns the alpha intensity of { wxImage, x, y }.
Returns the blue intensity of a wxColour or { wxImage, x, y }.
Returns the green intensity of a wxColour or { wxImage, x, y }.
Gets a user-defined option. The function is case-insensitive to name.
For example, when saving as a JPEG file, the option quality is used, which is a number between 0 and 100 (0 is terrible, 100 is very good).
Gets a user-defined option as an integer. The function is case-insensitive to name.
If the given option is not present, the function returns 0. Use has_option as 0 is a possibly valid value for the option.
Returns the red intensity of a wxColour or { wxImage, x, y }.
Returns true if the given option is present. The function is case-insensitive to name.
Returns a mirrored copy of the image. The parameter horizontally indicates the orientation.
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.
For a description of the quality parameter, see the scale function.
Returns the (modified) image itself.
Changes the size of the image in-place without scaling it by adding either a border with the given colour or cropping as necessary. The image is pasted into a new image with the given size and background colour at the position pos relative to the upper left of the new image.
Rotates the image about the given point, by angle radians. Passing true to interpolating results in better image quality, but is slower. If the image has a mask, then the mask colour is used for the uncovered pixels in the rotated image background. Else, black (rgb 0, 0, 0) will be used.
Returns the rotated image, leaving this image intact.
Returns a copy of the image rotated 90 degrees in the direction indicated by clockwise.
Sets a user-defined option. The function is case-insensitive to name.
For example, when saving as a JPEG file, the option quality is used, which is a number between 0 and 100 (0 is terrible, 100 is very good).