diff options
author | scuri <scuri> | 2010-01-08 03:48:22 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-01-08 03:48:22 +0000 |
commit | 577670a7706bb70bf1a4c30fb0255045e5f8469c (patch) | |
tree | b5a7c01b94b0bd5a8f84deef84c52ea860c7366b /include | |
parent | a091243647ef5905e214b98fb42c5c3e334d2b64 (diff) |
New: function imProcessCompose.
Diffstat (limited to 'include')
-rw-r--r-- | include/im_process_pon.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/im_process_pon.h b/include/im_process_pon.h index 2420360..635448a 100644 --- a/include/im_process_pon.h +++ b/include/im_process_pon.h @@ -126,6 +126,20 @@ void imProcessBlendConst(const imImage* src_image1, const imImage* src_image2, i * \ingroup arithm */ void imProcessBlend(const imImage* src_image1, const imImage* src_image2, const imImage* alpha_image, imImage* dst_image); +/** Compose two images that have an alpha channel using the OVER operator. \n + * Can be done in place, images must match size and type. \n + * Integer alpha values must be: +\verbatim +0 - 255 IM_BYTE +0 - 65535 IM_USHORT +0 - 2147483647 IM_INT +\endverbatim + * that will be normalized to 0 - 1. + * \verbatim im.ProcessCompose(src_image1: imImage, src_image2: imImage, dst_image: imImage) [in Lua 5] \endverbatim + * \verbatim im.ProcessComposeNew(image1: imImage, image2: imImage) -> new_image: imImage [in Lua 5] \endverbatim + * \ingroup arithm */ +void imProcessCompose(const imImage* src_image1, const imImage* src_image2, imImage* dst_image); + /** Split a complex image into two images with real and imaginary parts \n * or magnitude and phase parts (polar). \n * Source image must be IM_CFLOAT, destiny images must be IM_FLOAT. |