Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Image (gb.gui.qt)
This class reimplements
Image
in
gb.image
.
This class is
Creates a new image.
creatable
.
This class acts like a
Returns the color of the (x, y) pixel in Gambas pixel format. For more information on pixel formats, see
Image Management In Gambas
.
read
/
Sets the color of the (x, y) pixel in Gambas pixel format. For more information on pixel formats, see
Image Management In Gambas
.
write
array.
Static properties
Static methods
Constants
Return or set if debugging mode is enabled.
Debug
FromString
Load
This constants represents an image whose pixels are encoded in premultiplied ARGB format.
Premultiplied
This constants represent an image whose pixels are encoded in ARGB format.
Standard
Properties
Methods
Returns a pointer to the image data.
Data
Returns the depth of the image.
Depth
Return the internal image format as a string.
Format
A synonymous for the Height property.
H
Returns the height of the image.
Height
Picture
Return a copy the image pixels colors as an array of 32 bits integers.
Pixels
A synonymous for the Width property.
W
Returns the width of the image.
Width
Start a global image balance.
BeginBalance
Adjust the image brightness.
Brightness
Clears the image.
Clear
Colorizes the image contents by using the specified color.
Colorize
Adjust the image contrast.
Contrast
Returns a copy of the image, or a copy of a part of it
Copy
Desaturate an image, i.e. convert it to grayscale.
Desaturate
Copy the alpha channel of
Image
into the current image.
DrawAlpha
Copy the
Image
image inside the current image.
DrawImage
End a global image balance.
EndBalance
Create an alpha channel into the image by erasing the specified color.
Erase
Fills the image with a specified color.
Fill
Fill the specified rectangle with the specified color.
FillRect
Blur an image and return itself.
Fuzzy
Adjust the image gamma.
Gamma
Convert an image to grayscale.
Gray
Adjust the image hue.
Hue
Invert an image and return it.
Invert
Adjust the image lightness.
Lightness
Multiply each color component of each pixel by the color component of the specified color.
Mask
Returns the image vertically and/or horizontally mirrored.
Mirror
Change the opacity of an image and return it.
Opacity
PaintImage
Blend the specified rectangle with the specified color.
PaintRect
Replaces a color by another one.
Replace
Resizes the image.
Resize
Rotate
Rotate an image 90° left, and return it.
RotateLeft
Rotate an image 90° right, and return it.
RotateRight
Adjust the image saturation.
Saturation
Save
Stretch
Make the image transparent by using the specified
Color
.
Transparent