wxImage
See external documentation: wxImage.
See external documentation:
All (default) image handlers are initialized.
DATA TYPES
wxImage()
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
Functions
new() -> wxImage()
See
new(Name::string()) -> wxImage()
Equivalent to new(Name, []).
new(X::integer() | string(), X::integer() | term()) -> wxImage()
See
Alternatives:
new(Width::integer(), Height::integer()) -> new(Width,Height, [])
new(Name::string(), [Option]) -> wxImage()
Option = {type, integer()} | {index, integer()}
new(X::integer() | string(), X::integer() | string(), X::binary() | term()) -> wxImage()
See
Alternatives:
new(Width::integer(), Height::integer(), Data::binary()) -> new(Width,Height,Data, [])
new(Width::integer(), Height::integer(), [Option]) -> wxImage()
Option = {clear, bool()}
new(Name::string(), Mimetype::string(), [Option]) -> wxImage()
Option = {index, integer()}
new(Width::integer(), Height::integer(), Data::binary(), X::binary() | term()) -> wxImage()
See
Alternatives:
new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> new(Width,Height,Data,Alpha, [])
new(Width::integer(), Height::integer(), Data::binary(), [Option]) -> wxImage()
Option = {static_data, bool()}
new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), Options::[Option]) -> wxImage()
Option = {static_data, bool()}
See
blur(This::wxImage(), Radius::integer()) -> wxImage()
See
blurHorizontal(This::wxImage(), Radius::integer()) -> wxImage()
See
blurVertical(This::wxImage(), Radius::integer()) -> wxImage()
See
convertAlphaToMask(This::wxImage()) -> bool()
Equivalent to convertAlphaToMask(This, []).
convertAlphaToMask(This::wxImage(), Options::[Option]) -> bool()
Option = {threshold, integer()}
See
convertToGreyscale(This::wxImage()) -> wxImage()
Equivalent to convertToGreyscale(This, []).
convertToGreyscale(This::wxImage(), Options::[Option]) -> wxImage()
Option = {lr, float()} | {lg, float()} | {lb, float()}
See
convertToMono(This::wxImage(), R::integer(), G::integer(), B::integer()) -> wxImage()
See
copy(This::wxImage()) -> wxImage()
See
create(This::wxImage(), Width::integer(), Height::integer()) -> bool()
Equivalent to create(This, Width, Height, []).
create(This::wxImage(), Width::integer(), Height::integer(), X::binary() | term()) -> bool()
See
Alternatives:
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary()) -> create(This,Width,Height,Data, [])
create(This::wxImage(), Width::integer(), Height::integer(), [Option]) -> bool()
Option = {clear, bool()}
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), X::binary() | term()) -> bool()
See
Alternatives:
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> create(This,Width,Height,Data,Alpha, [])
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), [Option]) -> bool()
Option = {static_data, bool()}
create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), Options::[Option]) -> bool()
Option = {static_data, bool()}
See
Destroy(This::wxImage()) -> ok
See
findFirstUnusedColour(This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()}
Equivalent to findFirstUnusedColour(This, []).
findFirstUnusedColour(This::wxImage(), Options::[Option]) -> {bool(), R::integer(), G::integer(), B::integer()}
Option = {startR, integer()} | {startG, integer()} | {startB, integer()}
See
getImageExtWildcard() -> string()
See
getAlpha(This::wxImage()) -> binary()
See
getAlpha(This::wxImage(), X::integer(), Y::integer()) -> integer()
See
getBlue(This::wxImage(), X::integer(), Y::integer()) -> integer()
See
getData(This::wxImage()) -> binary()
See
getGreen(This::wxImage(), X::integer(), Y::integer()) -> integer()
See
getImageCount(Name::string()) -> integer()
Equivalent to getImageCount(Name, []).
getImageCount(Name::string(), Options::[Option]) -> integer()
Option = {type, integer()}
See
getHeight(This::wxImage()) -> integer()
See
getMaskBlue(This::wxImage()) -> integer()
See
getMaskGreen(This::wxImage()) -> integer()
See
getMaskRed(This::wxImage()) -> integer()
See
getOrFindMaskColour(This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()}
See
getPalette(This::wxImage()) -> wxPalette() (see module wxPalette)
See
getRed(This::wxImage(), X::integer(), Y::integer()) -> integer()
See
getSubImage(This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxImage()
See
getWidth(This::wxImage()) -> integer()
See
hasAlpha(This::wxImage()) -> bool()
See
hasMask(This::wxImage()) -> bool()
See
getOption(This::wxImage(), Name::string()) -> string()
See
getOptionInt(This::wxImage(), Name::string()) -> integer()
See
hasOption(This::wxImage(), Name::string()) -> bool()
See
initAlpha(This::wxImage()) -> ok
See
initStandardHandlers() -> ok
See
isTransparent(This::wxImage(), X::integer(), Y::integer()) -> bool()
Equivalent to isTransparent(This, X, Y, []).
isTransparent(This::wxImage(), X::integer(), Y::integer(), Options::[Option]) -> bool()
Option = {threshold, integer()}
See
loadFile(This::wxImage(), Name::string()) -> bool()
Equivalent to loadFile(This, Name, []).
loadFile(This::wxImage(), Name::string(), Options::[Option]) -> bool()
Option = {type, integer()} | {index, integer()}
See
loadFile(This::wxImage(), Name::string(), Mimetype::string(), Options::[Option]) -> bool()
Option = {index, integer()}
See
ok(This::wxImage()) -> bool()
See
removeHandler(Name::string()) -> bool()
See
mirror(This::wxImage()) -> wxImage()
Equivalent to mirror(This, []).
mirror(This::wxImage(), Options::[Option]) -> wxImage()
Option = {horizontally, bool()}
See
replace(This::wxImage(), R1::integer(), G1::integer(), B1::integer(), R2::integer(), G2::integer(), B2::integer()) -> ok
See
rescale(This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
Equivalent to rescale(This, Width, Height, []).
rescale(This::wxImage(), Width::integer(), Height::integer(), Options::[Option]) -> wxImage()
Option = {quality, integer()}
See
resize(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to resize(This, Size, Pos, []).
resize(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
Option = {r, integer()} | {g, integer()} | {b, integer()}
See
rotate(This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to rotate(This, Angle, Centre_of_rotation, []).
rotate(This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
Option = {interpolating, bool()} | {offset_after_rotation, {X::integer(), Y::integer()}}
See
rotateHue(This::wxImage(), Angle::float()) -> ok
See
rotate90(This::wxImage()) -> wxImage()
Equivalent to rotate90(This, []).
rotate90(This::wxImage(), Options::[Option]) -> wxImage()
Option = {clockwise, bool()}
See
saveFile(This::wxImage(), Name::string()) -> bool()
See
saveFile(This::wxImage(), Name::string(), X::integer() | string()) -> bool()
See
Alternatives:
saveFile(This::wxImage(), Name::string(), Type::integer()) -> bool()
saveFile(This::wxImage(), Name::string(), Mimetype::string()) -> bool()
scale(This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
Equivalent to scale(This, Width, Height, []).
scale(This::wxImage(), Width::integer(), Height::integer(), Options::[Option]) -> wxImage()
Option = {quality, integer()}
See
size(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage()
Equivalent to size(This, Size, Pos, []).
size(This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, Options::[Option]) -> wxImage()
Option = {r, integer()} | {g, integer()} | {b, integer()}
See
setAlpha(This::wxImage(), Alpha::binary()) -> ok
Equivalent to setAlpha(This, Alpha, []).
setAlpha(This::wxImage(), Alpha::binary(), Options::[Option]) -> ok
Option = {static_data, bool()}
See
setAlpha(This::wxImage(), X::integer(), Y::integer(), Alpha::integer()) -> ok
See
setData(This::wxImage(), Data::binary()) -> ok
Equivalent to setData(This, Data, []).
setData(This::wxImage(), Data::binary(), Options::[Option]) -> ok
Option = {static_data, bool()}
See
setData(This::wxImage(), Data::binary(), New_width::integer(), New_height::integer()) -> ok
Equivalent to setData(This, Data, New_width, New_height, []).
setData(This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(), Options::[Option]) -> ok
Option = {static_data, bool()}
See
setMask(This::wxImage()) -> ok
Equivalent to setMask(This, []).
setMask(This::wxImage(), Options::[Option]) -> ok
Option = {mask, bool()}
See
setMaskColour(This::wxImage(), R::integer(), G::integer(), B::integer()) -> ok
See
setMaskFromImage(This::wxImage(), Mask::wxImage(), Mr::integer(), Mg::integer(), Mb::integer()) -> bool()
See
setOption(This::wxImage(), Name::string(), X::integer() | string()) -> ok
See
Alternatives:
setOption(This::wxImage(), Name::string(), Value::integer()) -> ok
setOption(This::wxImage(), Name::string(), Value::string()) -> ok
setPalette(This::wxImage(), Palette::wxPalette() (see module wxPalette)) -> ok
See
setRGB(This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, R::integer(), G::integer(), B::integer()) -> ok
See
setRGB(This::wxImage(), X::integer(), Y::integer(), R::integer(), G::integer(), B::integer()) -> ok
See
destroy(This::wxImage()) -> ok
Destroys this object, do not use object again
- new/0
- new/1
- new/1-1
- new/1-2
- new/1-3
- new/1-4
- blur/1
- blurHorizontal/1
- blurVertical/1
- convertAlphaToMask/1
- convertAlphaToMask/1-1
- convertToGreyscale/1
- convertToGreyscale/1-1
- convertToMono/1
- copy/1
- create/1
- create/1-1
- create/1-2
- create/1-3
- Destroy/1
- findFirstUnusedColour/1
- findFirstUnusedColour/1-1
- getImageExtWildcard/0
- getAlpha/1
- getAlpha/1-1
- getBlue/1
- getData/1
- getGreen/1
- getImageCount/1
- getImageCount/1-1
- getHeight/1
- getMaskBlue/1
- getMaskGreen/1
- getMaskRed/1
- getOrFindMaskColour/1
- getPalette/1
- getRed/1
- getSubImage/1
- getWidth/1
- hasAlpha/1
- hasMask/1
- getOption/1
- getOptionInt/1
- hasOption/1
- initAlpha/1
- initStandardHandlers/0
- isTransparent/1
- isTransparent/1-1
- loadFile/1
- loadFile/1-1
- loadFile/1-2
- ok/1
- removeHandler/1
- mirror/1
- mirror/1-1
- replace/1
- rescale/1
- rescale/1-1
- resize/1
- resize/1-1
- rotate/1
- rotate/1-1
- rotateHue/1
- rotate90/1
- rotate90/1-1
- saveFile/1
- saveFile/1-1
- scale/1
- scale/1-1
- size/1
- size/1-1
- setAlpha/1
- setAlpha/1-1
- setAlpha/1-2
- setData/1
- setData/1-1
- setData/1-2
- setData/1-3
- setMask/1
- setMask/1-1
- setMaskColour/1
- setMaskFromImage/1
- setOption/1
- setPalette/1
- setRGB/1
- setRGB/1-1
- destroy/1