메소드 |
설명 |
|
Antialias ( QImage img ) : QImage |
Antialiases an image. name="img" The image to process. |
|
Blur ( QImage img ) : QImage |
|
|
Blur ( QImage img, int radius ) : QImage |
A fast blur algorithm. name="img" The image to process. name="radius" The radius of the blur. Larger values blur more. |
|
ChannelIntensity ( QImage img, float percent, Blitz channel ) : QImage |
Modifies the intensity of an image's RGB channel. name="img" The image to process. name="percent" Percent value. Use a negative value to dim. name="channel" Which channel(s) should be modified. Only Red, Green, and Blue are valid. |
|
Charcoal ( QImage img ) : QImage |
Produces a "charcoal" image effect. name="img" The image to process. |
|
Contrast ( QImage img, bool sharpen ) : QImage |
|
|
Contrast ( QImage img, bool sharpen, int weight ) : QImage |
High quality, fast HSV contrast. name="img" The image to process. name="sharpen" If true sharpness is increase, (spiffed). Otherwise it is decreased, (dulled). name="weight" How much to spiff or dull. |
|
Convolve ( QImage img, int matrix_size, float &matrix ) : QImage |
Convolves an image using a convolution matrix, (kernel), and provides the basis for many different image filters and effects. name="img" The image to process. name="matrix_size" The size of one side of the convolution matrix, ie: a 3x3 matrix would be 3, not 9. name="matrix" The convolution matrix. |
|
ConvolveEdge ( QImage img ) : QImage |
|
|
ConvolveEdge ( QImage img, float radius ) : QImage |
|
|
ConvolveEdge ( QImage img, float radius, Blitz quality ) : QImage |
Detects edges in an image using a convolution matrix. name="img" The image to process. name="radius" The radius of the gaussian, not counting the center pixel. Use 0, (recommended), and an appropriate one will be used. name="quality" Determines if to use a small or large convolution matrix. |
|
ConvolveInteger ( QImage img, int matrix_size, int &matrix ) : QImage |
|
|
ConvolveInteger ( QImage img, int matrix_size, int &matrix, int divisor ) : QImage |
Same as above but with a faster integer matrix. |
|
Desaturate ( QImage img ) : QImage |
|
|
Desaturate ( QImage img, float desat ) : QImage |
Desaturate an image evenly. name="img" The image to process. name="desat" A value between 0 and 1 setting the degree of desaturation |
|
Despeckle ( QImage img ) : QImage |
Minimizes speckle noise in the source image using the 8 hull algorithm. name="img" The image to process. |
|
Dispose ( ) : void |
|
|
Edge ( QImage img ) : QImage |
Detects edges in an image using the Sobel algorithm. name="img" The image to process. |
|
Emboss ( QImage img ) : QImage |
|
|
Emboss ( QImage img, float radius ) : QImage |
|
|
Emboss ( QImage img, float radius, float sigma ) : QImage |
|
|
Emboss ( QImage img, float radius, float sigma, Blitz quality ) : QImage |
Embosses an image. name="img" The image to process. name="radius" The radius of the gaussian, not counting the center pixel. Use 0, (recommended), and an appropriate one will be used. name="sigma" The standard deviation of the gaussian in pixels. Use 1.0, (recommended), for the default value. name="quality" Determines if to use a small or large convolution matrix. |
|
Equalize ( QImage img ) : bool |
Performs histogram equalization. name="img" The image to equalize. |
|
Fade ( QImage img, float val, QColor color ) : QImage |
Fade an image to a certain background color. The number of colors will not be changed. name="img" The image to process. name="val" The strength of the effect. 0 <= val <= 1. name="color" The background color. |
|
Flatten ( QImage img, QColor ca, QColor cb ) : QImage |
This recolors a pixmap. The most dark color will become color a, the most bright one color b, and in between. name="img" The image to process. name="ca" Color a name="cb" Color b |
|
GaussianBlur ( QImage img ) : QImage |
|
|
GaussianBlur ( QImage img, float radius ) : QImage |
|
|
GaussianBlur ( QImage img, float radius, float sigma ) : QImage |
A high quality gaussian/convolve-based blur. name="img" The image to process. name="radius" The radius of the gaussian, not counting the center pixel. Use 0, (recommended), and an appropriate one will be used. name="sigma" The standard deviation of the gaussian in pixels. Use 1.0, (recommended), for the default value. |
|
GaussianSharpen ( QImage img ) : QImage |
|
|
GaussianSharpen ( QImage img, float radius ) : QImage |
|
|
GaussianSharpen ( QImage img, float radius, float sigma ) : QImage |
|
|
GaussianSharpen ( QImage img, float radius, float sigma, Blitz quality ) : QImage |
Sharpens an image. name="img" The image to process. name="radius" The radius of the gaussian, not counting the center pixel. Use 0, (recommended), and an appropriate one will be used. name="sigma" The standard deviation of the gaussian in pixels. Use 1.0, (recommended), for the default value. name="quality" Determines if to use a small or large convolution matrix. |
|
Gradient ( Qyoto.QSize size, QColor ca, QColor cb, Blitz type ) : QImage |
Create a gradient from color a to color b of the specified type. name="size" The desired size of the gradient. name="ca" Color a name="cb" Color b name="type" The type of gradient. |
|
GrayGradient ( Qyoto.QSize size, ushort ca, ushort cb, Blitz type ) : QImage |
Creates an 8bit grayscale gradient suitable for use as an alpha channel using QImage.SetAlphaChannel(). name="size" The desired size of the gradient. name="ca" The grayscale start value. name="cb" The grayscale end value. name="type" The type of gradient. |
|
GrayUnbalancedGradient ( Qyoto.QSize size, ushort ca, ushort cb, Blitz type ) : QImage |
|
|
GrayUnbalancedGradient ( Qyoto.QSize size, ushort ca, ushort cb, Blitz type, int xfactor ) : QImage |
|
|
GrayUnbalancedGradient ( Qyoto.QSize size, ushort ca, ushort cb, Blitz type, int xfactor, int yfactor ) : QImage |
Creates an 8bit grayscale gradient suitable for use as an alpha channel using QImage.SetAlphaChannel(). name="size" The desired size of the gradient. name="type" The type of gradient. name="ca" The grayscale start value. name="cb" The grayscale end value. name="xfactor" The x decay length. Use a value between -200 and 200. name="yfactor" The y decay length. |
|
Grayscale ( QImage img ) : bool |
|
|
Grayscale ( QImage img, bool reduceDepth ) : bool |
Grayscales an image. name="img" The image to grayscale. name="reduceDepth" If true the result will be an 8bit palette image. |
|
Implode ( QImage img ) : QImage |
|
|
Implode ( QImage img, float amount ) : QImage |
Implodes an image by a specified percent. name="img" The QImage to process. name="amount" The extent of the implosion. |
|
Intensity ( QImage img, float percent ) : QImage |
Either brighten or dim the image by a specified percent. For example, 0.50 will modify the colors by 50%. name="img" The image to process. name="percent" The percent value. Use a negative value to dim. |
|
Invert ( QImage img ) : bool |
|
|
Invert ( QImage img, QImage mode ) : bool |
Inverts an image. If the machine supports MMX this can do two pixels at a time, otherwise it's the same as QImage.InvertPixels(). name="img" The image to invert. name="mode" If to invert the alpha channel or not. |
|
Modulate ( QImage img, QImage modImg, bool reverse, Blitz type, int factor, Blitz channel ) : QImage |
Modulate the image with a color channel of another image. name="img" The QImage to modulate and result. name="modImg" The QImage to use for modulation. name="reverse" Invert the meaning of image/modImage; result is image! name="type" The modulation Type to use. name="factor" The modulation amplitude; with 0 no effect [-200;200]. name="channel" The RBG channel of image2 to use for modulation. |
|
Normalize ( QImage img ) : bool |
Normalizes the pixel values to span the full range of color values. This is a contrast enhancement technique. name="img" The image to normalize |
|
OilPaint ( QImage img ) : QImage |
|
|
OilPaint ( QImage img, float radius ) : QImage |
|
|
OilPaint ( QImage img, float radius, Blitz quality ) : QImage |
Produces an oil painting effect. name="img" The image to process. name="radius" The radius of the gaussian, not counting the center pixel. Use 0, (recommended), and an appropriate one will be used. name="quality" Determines if to use a small or large convolution matrix. |
|
Sharpen ( QImage img ) : QImage |
|
|
Sharpen ( QImage img, int radius ) : QImage |
A cheap, fast sharpen. name="radius" The radius. Larger values sharpen more. |
|
SmoothScale ( QImage img, Qyoto.QSize sz ) : QImage |
|
|
SmoothScale ( QImage img, Qyoto.QSize sz, Qt aspectRatio ) : QImage |
A fast smoothscale method with MMX support. name="img" The image to smoothscale. name="sz" The size to scale to. name="aspectRatio" What aspect ratio to use, if any. |
|
SmoothScale ( QImage img, int dw, int dh ) : QImage |
|
|
SmoothScale ( QImage img, int dw, int dh, Qt aspectRatio ) : QImage |
|
|
SmoothScaleFilter ( QImage img, Qyoto.QSize sz ) : QImage |
|
|
SmoothScaleFilter ( QImage img, Qyoto.QSize sz, float blur ) : QImage |
|
|
SmoothScaleFilter ( QImage img, Qyoto.QSize sz, float blur, Blitz filter ) : QImage |
|
|
SmoothScaleFilter ( QImage img, Qyoto.QSize sz, float blur, Blitz filter, Qt aspectRatio ) : QImage |
Smoothscales an image using a high-quality filter. name="img" The image to smoothscale. name="sz" The size to scale to. name="blur" A blur factor. Values greater than 1.0 blur while values less than 1.0 sharpen. name="filter" The filter type. name="aspectRatio" What aspect ratio to use, if any. |
|
SmoothScaleFilter ( QImage img, int dwX, int dwY ) : QImage |
|
|
SmoothScaleFilter ( QImage img, int dwX, int dwY, float blur ) : QImage |
|
|
SmoothScaleFilter ( QImage img, int dwX, int dwY, float blur, Blitz filter ) : QImage |
|
|
SmoothScaleFilter ( QImage img, int dwX, int dwY, float blur, Blitz filter, Qt aspectRatio ) : QImage |
|
|
Swirl ( QImage img ) : QImage |
|
|
Swirl ( QImage img, float degrees ) : QImage |
Swirls the image by a specified amount name="img" The image to process. name="degrees" The tightness of the swirl. |
|
Threshold ( QImage img ) : QImage |
|
|
Threshold ( QImage img, ushort thresholdValue ) : QImage |
|
|
Threshold ( QImage img, ushort thresholdValue, Blitz channel ) : QImage |
|
|
Threshold ( QImage img, ushort thresholdValue, Blitz channel, uint aboveColor ) : QImage |
|
|
Threshold ( QImage img, ushort thresholdValue, Blitz channel, uint aboveColor, uint belowColor ) : QImage |
Thresholds an image based on a given channel and threshold value. name="img" The image to process. name="thresholdValue" The value that separates "on" colors from "off" ones. name="channel" The channel to use when thresholding. name="aboveColor" The color to use for values at or above the threshold. name="belowColor" The color to use for values below the threshold. |
|
UnbalancedGradient ( Qyoto.QSize size, QColor ca, QColor cb, Blitz type ) : QImage |
|
|
UnbalancedGradient ( Qyoto.QSize size, QColor ca, QColor cb, Blitz type, int xfactor ) : QImage |
|
|
UnbalancedGradient ( Qyoto.QSize size, QColor ca, QColor cb, Blitz type, int xfactor, int yfactor ) : QImage |
Create an unbalanced gradient. An unbalanced gradient is a gradient where the transition from color a to color b is not linear, but in this case exponential. name="size" The desired size of the gradient. name="ca" Color a name="cb" Color b name="type" The type of gradient. name="xfactor" The x decay length. Use a value between -200 and 200. name="yfactor" The y decay length. |
|
Wave ( QImage img ) : QImage |
|
|
Wave ( QImage img, float amplitude ) : QImage |
|
|
Wave ( QImage img, float amplitude, float frequency ) : QImage |
|
|
Wave ( QImage img, float amplitude, float frequency, uint background ) : QImage |
Modifies the pixels along a sine wave. name="img" The image to process. name="amplitude" The amplitude of the sine wave. name="frequency" The frequency of the sine wave. name="background" An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. |
|