summaryrefslogtreecommitdiffstats
path: root/kdefx/kimageeffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdefx/kimageeffect.h')
-rw-r--r--kdefx/kimageeffect.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kdefx/kimageeffect.h b/kdefx/kimageeffect.h
index 155df71b1..8d73e5bfb 100644
--- a/kdefx/kimageeffect.h
+++ b/kdefx/kimageeffect.h
@@ -773,6 +773,16 @@ public:
int ambient, bool compensate, bool invert,
BumpmapType type, bool tiled);
+ /**
+ * Convert an image with standard alpha to premultiplied alpha
+ *
+ * @param img the image you want convert
+ *
+ * @return The destination image (dst) containing the result.
+ * @author Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ */
+ static TQImage convertToPremultipliedAlpha(TQImage input);
+
private:
/**