comp • gb.image.effect • image

Image (gb.image.effect)

This class adds many effect methods to the original Image class.

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.
read
/
Sets the color of the (x, y) pixel.
write
array.

Static properties

Static methods Constants
Return or set if debugging mode is enabled.
Debug  
Create a gradient image.
Gradient  
Constant for specifying all color channels.
All  
Constant for specifying the alpha color channel.
Alpha  
Constant for specifying the blue color channel.
Blue  
Constant used for specifying a cross gradient.
Cross  
Constant used for specifying a diagonal gradient.
Diagonal  
Constant used for specifying an elliptic gradient.
Elliptic  
Constant for a gaussian noise.
Gaussian  
Constant for specifying the green color channel.
Green  
Constant used for specifying an horizontal gradient.
Horizontal  
Constant for an impulse noise.
Impulse  
Constant for a Laplacian noise.
Laplacian  
Constant for a multiplicative gaussian noise.
Multiplicative  
Constant used for specifying a pipe cross gradient.
PipeCross  
Constant for a Poisson noise.
Poisson  
This constants represents an image whose pixels are encoded in premultiplied ARGB format.
Premultiplied  
Constant used for specifying a pyramidal gradient.
Pyramid  
Constant used for specifying a rectangular gradient.
Rectangle  
Constant for specifying the red color channel.
Red  
This constants represent an image whose pixels are encoded in ARGB format.
Standard  
Constant for an uniform noise.
Uniform  
Constant used for specifying a vertical gradient.
Vertical  

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  
Return 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  
Modify the balance of image brightness, contrast and gamma.
Balance  
Start a global image balance.
BeginBalance  
Blur an image by convolving pixel neighborhoods.
Blur  
Adjust the image brightness.
Brightness  
Produce a neat little "charcoal" effect.
Charcoal  
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  
Minimize speckle noise in the source image using the 8 hull algorithm.
Despeckle  
Copy the alpha channel of Image into the current image.
DrawAlpha  
Copy the Image image inside the current image.
DrawImage  
Detect edges in an image using pixel neighborhoods and an edge detection mask.
Edge  
Emboss the source image.
Emboss  
End a global image balance.
EndBalance  
Perform histogram equalization on the reference image.
Equalize  
Create an alpha channel into the image by erasing the specified color.
Erase  
Fade an image to a certain background color.
Fade  
Fills the image with a specified color.
Fill  
Fill the specified rectangle with the specified color.
FillRect  
Recolor an image.
Flatten  
Blur an image and return itself.
Fuzzy  
Adjust the image gamma.
Gamma  
Convert an image to grayscale.
Gray  
Create and return an histogram of the image.
Histogram  
Adjust the image hue.
Hue  
Implode an image by a specified percent.
Implode  
Either brighten or dim the image by a specified percent.
Intensity  
Invert an image, or only some of its channels.
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  
Add some noise to an image.
Noise  
Normalize the pixel values to span the full range of color values.
Normalize  
Produce an oil painting effect.
OilPaint  
Change the opacity of an image and return it.
Opacity  
Blend the Image image inside the current image.
PaintImage  
Blend the specified rectangle with the specified color.
PaintRect  
Replaces a color by another one.
Replace  
Resizes the image.
Resize  
Rotate an image 90° left, and return it.
RotateLeft  
Rotate an image 90° right, and return it.
RotateRight  
Adjust the image saturation.
Saturation  
Shade the image using a distance light source.
Shade  
Sharpen the pixels in the image using pixel neighborhoods.
Sharpen  
Produce a solarization effect seen when exposing a photographic film to light during the development process.
Solarize  
Randomly displace pixels.
Spread  
Swirl the image by a specified amount
Swirl  
Threshold the reference image.
Threshold  
Make the image transparent by using the specified Color.
Transparent  
Modifiy the pixels along a sine wave.
Wave