summaryrefslogtreecommitdiffstats
path: root/python/pykde/doc/classref/kdefx/KImageEffect.html
blob: 9adb350d1dfcaf25da720bbd7f1c9135f0207f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
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>