wxImage
Module
Module Summary
Description
DATA TYPES
Exports
new() -> wxImage()
new(Name) -> wxImage()
Types
Equivalent to new(Name, []).
new(Width, Height) -> wxImage()
Types
See external documentation.
Also:
new(Name, [Option]) -> wxImage() when
Name::unicode:chardata(),
Option :: {'type', integer()}
| {'index', integer()}.
new(Width, Height, Data) -> wxImage()
Types
See external documentation.
Also:
new(Width, Height, [Option]) -> wxImage() when
Width::integer(), Height::integer(),
Option :: {'clear', boolean()};
(Name, Mimetype, [Option]) -> wxImage() when
Name::unicode:chardata(), Mimetype::unicode:chardata(),
Option :: {'index', integer()}.
new(Width, Height, Data, Alpha) -> wxImage()
Types
See external documentation.
Also:
new(Width, Height, Data, [Option]) -> wxImage() when
Width::integer(), Height::integer(), Data::binary(),
Option :: {'static_data', boolean()}.
new(Width, Height, Data, Alpha, Options::[Option]) -> wxImage()
Types
blur(This, Radius) -> wxImage()
blurHorizontal(This, Radius) -> wxImage()
blurVertical(This, Radius) -> wxImage()
convertAlphaToMask(This) -> boolean()
Types
Equivalent to convertAlphaToMask(This, []).
convertAlphaToMask(This, Options::[Option]) -> boolean()
convertToGreyscale(This) -> wxImage()
Types
Equivalent to convertToGreyscale(This, []).
convertToGreyscale(This, Options::[Option]) -> wxImage()
convertToMono(This, R, G, B) -> wxImage()
copy(This) -> wxImage()
Types
create(This, Width, Height) -> boolean()
Equivalent to create(This, Width, Height, []).
create(This, Width, Height, Data) -> boolean()
See external documentation.
Also:
create(This, Width, Height, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(),
Option :: {'clear', boolean()}.
create(This, Width, Height, Data, Alpha) -> boolean()
See external documentation.
Also:
create(This, Width, Height, Data, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(), Data::binary(),
Option :: {'static_data', boolean()}.
create(This, Width, Height, Data, Alpha, Options::[Option]) -> boolean()
Types
Types
findFirstUnusedColour(This) -> Result
Equivalent to findFirstUnusedColour(This, []).
findFirstUnusedColour(This, Options::[Option]) -> Result
Types
getImageExtWildcard() -> unicode:charlist()
Types
getAlpha(This, X, Y) -> integer()
getBlue(This, X, Y) -> integer()
Types
getGreen(This, X, Y) -> integer()
getImageCount(Name) -> integer()
Types
Equivalent to getImageCount(Name, []).
getImageCount(Name, Options::[Option]) -> integer()
See external documentation.
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
Types
getMaskBlue(This) -> integer()
Types
getMaskGreen(This) -> integer()
Types
Types
getOrFindMaskColour(This) -> Result
getPalette(This) -> wxPalette:wxPalette()
Types
getRed(This, X, Y) -> integer()
getSubImage(This, Rect) -> wxImage()
Types
Types
Types
getOption(This, Name) -> unicode:charlist()
getOptionInt(This, Name) -> integer()
hasOption(This, Name) -> boolean()
Types
isTransparent(This, X, Y) -> boolean()
Equivalent to isTransparent(This, X, Y, []).
isTransparent(This, X, Y, Options::[Option]) -> boolean()
loadFile(This, Name) -> boolean()
Equivalent to loadFile(This, Name, []).
loadFile(This, Name, Options::[Option]) -> boolean()
loadFile(This, Name, Mimetype, Options::[Option]) -> boolean()
Types
Types
removeHandler(Name) -> boolean()
Types
mirror(This) -> wxImage()
Types
Equivalent to mirror(This, []).
mirror(This, Options::[Option]) -> wxImage()
replace(This, R1, G1, B1, R2, G2, B2) -> ok
Types
rescale(This, Width, Height) -> wxImage()
Equivalent to rescale(This, Width, Height, []).
rescale(This, Width, Height, Options::[Option]) -> wxImage()
See external documentation.
Quality = integer
resize(This, Size, Pos) -> wxImage()
Equivalent to resize(This, Size, Pos, []).
resize(This, Size, Pos, Options::[Option]) -> wxImage()
Types
rotate(This, Angle, Centre_of_rotation) -> wxImage()
Equivalent to rotate(This, Angle, Centre_of_rotation, []).
rotate(This, Angle, Centre_of_rotation, Options::[Option]) -> wxImage()
Types
rotate90(This) -> wxImage()
Types
Equivalent to rotate90(This, []).
rotate90(This, Options::[Option]) -> wxImage()
saveFile(This, Name) -> boolean()
saveFile(This, Name, Type) -> boolean()
See external documentation.
Also:
saveFile(This, Name, Mimetype) -> boolean() when
This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata().
scale(This, Width, Height) -> wxImage()
Equivalent to scale(This, Width, Height, []).
scale(This, Width, Height, Options::[Option]) -> wxImage()
See external documentation.
Quality = integer
size(This, Size, Pos) -> wxImage()
Equivalent to size(This, Size, Pos, []).
size(This, Size, Pos, Options::[Option]) -> wxImage()
Types
Equivalent to setAlpha(This, Alpha, []).
setAlpha(This, Alpha, Options::[Option]) -> ok
setAlpha(This, X, Y, Alpha) -> ok
Equivalent to setData(This, Data, []).
setData(This, Data, Options::[Option]) -> ok
setData(This, Data, New_width, New_height) -> ok
Equivalent to setData(This, Data, New_width, New_height, []).
setData(This, Data, New_width, New_height, Options::[Option]) -> ok
Types
Types
Equivalent to setMask(This, []).
setMask(This, Options::[Option]) -> ok
setMaskColour(This, R, G, B) -> ok
setMaskFromImage(This, Mask, Mr, Mg, Mb) -> boolean()
setOption(This, Name, Value) -> ok
See external documentation.
Also:
setOption(This, Name, Value) -> 'ok' when
This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata().
setPalette(This, Palette) -> ok
setRGB(This, Rect, R, G, B) -> ok
Types
setRGB(This, X, Y, R, G, B) -> ok
destroy(This::wxImage()) -> ok