imProcessArithmeticConstOp

Apply a binary arithmetic operation with a constant value. \n * Can be done in-place, images must match color space and size. \n * Target image can be several types depending on source: \n * \li any integer -> any integer or real * \li real -> real * \li complex -> complex * The constant value is type casted to an appropriate type before the operation. \n * If source is complex, target complex must be the same data type (imcfloat-imcfloat or imcdouble-imcdouble only). \n * If target is byte, then the result is cropped to 0-255. * * \verbatim im.ProcessArithmeticConstOp(src_image: imImage, src_const: number, dst_image: imImage, op: number) [in Lua 5] \endverbatim * \verbatim im.ProcessArithmeticConstOpNew(image: imImage, src_const: number, op: number) -> new_image: imImage [in Lua 5] \endverbatim * \ingroup arithm

version(IM)
extern (C) @nogc nothrow
void
imProcessArithmeticConstOp

Meta