Class Sfml.image


class image : image_path -> object .. end
Images support

method getPoint : pointer
For internal use only
method saveToFile : string -> bool
Save the image in a file
method createMaskFromColor : color -> int -> unit
Make a color transparent
method resize : int -> int -> color -> unit
Resize the image, without scaling and fill it with the given color
method setPixel : int -> int -> color -> unit
Modify a single pixel
method getPixel : int -> int -> color
Get a single pixel
method getPixelTab : int array
Get the whole pixel tab
method bind : unit
Bind the image
method setSmooth : bool -> unit
Set/Get if the image is smooth
method isSmooth : bool
method getWidth : int
Get the dimensions of the image
method getHeight : int