diff options
Diffstat (limited to 'python/pykde/doc/classref/kdefx/KImageEffect.html')
-rw-r--r-- | python/pykde/doc/classref/kdefx/KImageEffect.html | 523 |
1 files changed, 523 insertions, 0 deletions
diff --git a/python/pykde/doc/classref/kdefx/KImageEffect.html b/python/pykde/doc/classref/kdefx/KImageEffect.html new file mode 100644 index 00000000..9adb350d --- /dev/null +++ b/python/pykde/doc/classref/kdefx/KImageEffect.html @@ -0,0 +1,523 @@ + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN + "http://www.w3.org/TR/html4/loose.dtd""> +<html> +<head> + <title>class KImageEffect</title> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> + <meta name="GENERATOR" content="wabbit dumphtml"> +</head> +<body> +<h4>PyKDE - Python Bindings for KDE</h4> +<hr> +<table width="100%"><tr> + <td width ="70%"> + <h1>class KImageEffect</h1><hr> + </td> + <td width="30%" valign="top" align="right"> + <table> + <tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr> + <tr><td align="right"><a href="../index.html">Modules</a></td></tr> + <tr><td align="right"><a href="index.html">kdefx Classes</a></td></tr> + <tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr> + </table> + </td> + </tr></table> + <table> + <tr><td width="10%" align=left>Module</td> + <td width="30%" align=left>kdefx</td> + </tr> + <tr><td>Class</td> + <td>KImageEffect</td> + </tr> + <tr><td>Inherits</td> + <td> </td> + </tr> + </table> + <h3>enums</h3><ul> +<li><b>BumpmapType</b> = {Linear, Spherical, Sinuosidal +}<li><b>Disposition</b> = {NoImage, Centered, Tiled, CenterTiled, CenteredMaxpect, TiledMaxpect, Scaled, CenteredAutoFit +}<li><b>GradientType</b> = {VerticalGradient, HorizontalGradient, DiagonalGradient, CrossDiagonalGradient, PyramidGradient, RectangleGradient, PipeCrossGradient, EllipticGradient +}<li><b>Lighting</b> = {NorthLite, NWLite, WestLite, SWLite, SouthLite, SELite, EastLite, NELite +}<li><b>ModulationType</b> = {Intensity, Saturation, HueShift, Contrast +}<li><b>NoiseType</b> = {UniformNoise, GaussianNoise, MultiplicativeGaussianNoise, ImpulseNoise, LaplacianNoise, PoissonNoise +}<li><b>RGBComponent</b> = {Red, Green, Blue, Gray, All +}<li><b>RotateDirection</b> = {Rotate90, Rotate180, Rotate270 +}</ul> +<h3>methods</h3><ul> +<li><b>addNoise</b> (src, type = GaussianNoise) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>type</td><td>KImageEffect.NoiseType</td><td>GaussianNoise</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (clr, dst, opacity) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>clr</td><td>QColor</td><td></td></tr> +<tr><td>dst</td><td>QImage</td><td></td></tr> +<tr><td>opacity</td><td>float</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (src, dst, opacity) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>dst</td><td>QImage</td><td></td></tr> +<tr><td>opacity</td><td>float</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (image, initial_intensity, bgnd, eff, anti_dir = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>initial_intensity</td><td>float</td><td></td></tr> +<tr><td>bgnd</td><td>QColor</td><td></td></tr> +<tr><td>eff</td><td>KImageEffect.GradientType</td><td></td></tr> +<tr><td>anti_dir</td><td>bool</td><td>0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (image1, image2, gt, xf = 100, yf = 100) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image1</td><td>QImage</td><td></td></tr> +<tr><td>image2</td><td>QImage</td><td></td></tr> +<tr><td>gt</td><td>KImageEffect.GradientType</td><td></td></tr> +<tr><td>xf</td><td>int</td><td>100</td></tr> +<tr><td>yf</td><td>int</td><td>100</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (image1, image2, blendImage, channel) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image1</td><td>QImage</td><td></td></tr> +<tr><td>image2</td><td>QImage</td><td></td></tr> +<tr><td>blendImage</td><td>QImage</td><td></td></tr> +<tr><td>channel</td><td>KImageEffect.RGBComponent</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (upper, lower, output) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +<tr><td>output</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blend</b> (x, y, upper, lower, output) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool) x (int) y (int)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>x</td><td>int</td><td></td></tr> +<tr><td>y</td><td>int</td><td></td></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +<tr><td>output</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blendOnLower</b> (x, y, upper, lower) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>x</td><td>int</td><td></td></tr> +<tr><td>y</td><td>int</td><td></td></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blendOnLower</b> (upper, upperOffset, lower, lowerRect) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>upperOffset</td><td>QPoint</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +<tr><td>lowerRect</td><td>QRect</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blendOnLower</b> (upper, upperOffset, lower, lowerRect, opacity) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>upperOffset</td><td>QPoint</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +<tr><td>lowerRect</td><td>QRect</td><td></td></tr> +<tr><td>opacity</td><td>float</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blendOnLower</b> (upper, lower, disposition, opacity) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +<tr><td>lower</td><td>QImage</td><td></td></tr> +<tr><td>disposition</td><td>KImageEffect.Disposition</td><td></td></tr> +<tr><td>opacity</td><td>float</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blur</b> (src, radius, sigma) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td></td></tr> +<tr><td>sigma</td><td>double</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>blur</b> (src, factor = 50.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>factor</td><td>double</td><td>50.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>bumpmap</b> (img, map, azimuth, elevation, depth, xofs, yofs, waterlevel, ambient, compensate, invert, type, tiled) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.3.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +<tr><td>map</td><td>QImage</td><td></td></tr> +<tr><td>azimuth</td><td>double</td><td></td></tr> +<tr><td>elevation</td><td>double</td><td></td></tr> +<tr><td>depth</td><td>int</td><td></td></tr> +<tr><td>xofs</td><td>int</td><td></td></tr> +<tr><td>yofs</td><td>int</td><td></td></tr> +<tr><td>waterlevel</td><td>int</td><td></td></tr> +<tr><td>ambient</td><td>int</td><td></td></tr> +<tr><td>compensate</td><td>bool</td><td></td></tr> +<tr><td>invert</td><td>bool</td><td></td></tr> +<tr><td>type</td><td>KImageEffect.BumpmapType</td><td></td></tr> +<tr><td>tiled</td><td>bool</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>channelIntensity</b> (image, percent, channel) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>percent</td><td>float</td><td></td></tr> +<tr><td>channel</td><td>KImageEffect.RGBComponent</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>charcoal</b> (src, radius, sigma) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td></td></tr> +<tr><td>sigma</td><td>double</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>charcoal</b> (src, factor = 50.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>factor</td><td>double</td><td>50.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>computeDestinationRect</b> (lowerSize, disposition, upper) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QRect)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>lowerSize</td><td>QSize</td><td></td></tr> +<tr><td>disposition</td><td>KImageEffect.Disposition</td><td></td></tr> +<tr><td>upper</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>contrast</b> (image, c) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>c</td><td>int</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>contrastHSV</b> (img, sharpen = 1) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +<tr><td>sharpen</td><td>bool</td><td>1</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>desaturate</b> (image, desat = 0.3) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>desat</td><td>float</td><td>0.3</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>despeckle</b> (src) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>dither</b> (image, palette, size) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>edge</b> (src, radius = 50.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td>50.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>emboss</b> (src, radius, sigma) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td></td></tr> +<tr><td>sigma</td><td>double</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>emboss</b> (src) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>equalize</b> (img) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>fade</b> (image, val, color) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>val</td><td>float</td><td></td></tr> +<tr><td>color</td><td>QColor</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>flatten</b> (image, ca, cb, ncols = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>ca</td><td>QColor</td><td></td></tr> +<tr><td>cb</td><td>QColor</td><td></td></tr> +<tr><td>ncols</td><td>int</td><td>0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>gradient</b> (size, ca, cb, type, ncols = 3) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>size</td><td>QSize</td><td></td></tr> +<tr><td>ca</td><td>QColor</td><td></td></tr> +<tr><td>cb</td><td>QColor</td><td></td></tr> +<tr><td>type</td><td>KImageEffect.GradientType</td><td></td></tr> +<tr><td>ncols</td><td>int</td><td>3</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>hash</b> (image, lite = NorthLite, spacing = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>lite</td><td>KImageEffect.Lighting</td><td>NorthLite</td></tr> +<tr><td>spacing</td><td>uint</td><td>0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>implode</b> (src, factor = 30.0, background = -1) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>factor</td><td>double</td><td>30.0</td></tr> +<tr><td>background</td><td>uint</td><td>-1</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>intensity</b> (image, percent) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>percent</td><td>float</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>modulate</b> (image, modImage, reverse, type, factor, channel) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>modImage</td><td>QImage</td><td></td></tr> +<tr><td>reverse</td><td>bool</td><td></td></tr> +<tr><td>type</td><td>KImageEffect.ModulationType</td><td></td></tr> +<tr><td>factor</td><td>int</td><td></td></tr> +<tr><td>channel</td><td>KImageEffect.RGBComponent</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>normalize</b> (img) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>oilPaint</b> (src, radius = 3) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>int</td><td>3</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>oilPaintConvolve</b> (src, radius) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>rotate</b> (src, r) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>r</td><td>KImageEffect.RotateDirection</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>sample</b> (src, w, h) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>w</td><td>int</td><td></td></tr> +<tr><td>h</td><td>int</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>selectedImage</b> (img, col) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +<tr><td>col</td><td>QColor</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>shade</b> (src, color_shading = 1, azimuth = 30.0, elevation = 30.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>color_shading</td><td>bool</td><td>1</td></tr> +<tr><td>azimuth</td><td>double</td><td>30.0</td></tr> +<tr><td>elevation</td><td>double</td><td>30.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>sharpen</b> (src, radius, sigma) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td>In versions KDE 3.2.0 and above only</td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>radius</td><td>double</td><td></td></tr> +<tr><td>sigma</td><td>double</td><td></td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>sharpen</b> (src, factor = 30.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>factor</td><td>double</td><td>30.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>solarize</b> (img, factor = 50.0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +<tr><td>factor</td><td>double</td><td>50.0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>spread</b> (src, amount = 3) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>amount</td><td>uint</td><td>3</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>swirl</b> (src, degrees = 50.0, background = -1) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>degrees</td><td>double</td><td>50.0</td></tr> +<tr><td>background</td><td>uint</td><td>-1</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>threshold</b> (img, value = 128) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>img</td><td>QImage</td><td></td></tr> +<tr><td>value</td><td>uint</td><td>128</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>toGray</b> (image, fast = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>image</td><td>QImage</td><td></td></tr> +<tr><td>fast</td><td>bool</td><td>0</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>unbalancedGradient</b> (size, ca, cb, type, xfactor = 100, yfactor = 100, ncols = 3) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>size</td><td>QSize</td><td></td></tr> +<tr><td>ca</td><td>QColor</td><td></td></tr> +<tr><td>cb</td><td>QColor</td><td></td></tr> +<tr><td>type</td><td>KImageEffect.GradientType</td><td></td></tr> +<tr><td>xfactor</td><td>int</td><td>100</td></tr> +<tr><td>yfactor</td><td>int</td><td>100</td></tr> +<tr><td>ncols</td><td>int</td><td>3</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +<li><b>wave</b> (src, amplitude = 25.0, frequency = 150.0, background = -1) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QImage)</i></td></tr> +<tr><td><i>static</i></td></tr> +</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> +<tr><td>src</td><td>QImage</td><td></td></tr> +<tr><td>amplitude</td><td>double</td><td>25.0</td></tr> +<tr><td>frequency</td><td>double</td><td>150.0</td></tr> +<tr><td>background</td><td>uint</td><td>-1</td></tr> +</table> +</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> +</ul> + +</body> +</html> |