imImageCreate

Creates a new image. * See also \ref imDataType and \ref imColorSpace. Image data is cleared as \ref imImageClear. \n * In Lua the IM image metatable name is "imImage". * When converted to a string will return "imImage(%p) [width=%d,height=%d,color_space=%s,data_type=%s,depth=%d]" where %p is replaced by the userdata address, * and other values are replaced by the respective attributes. * If the image is already destroyed by im.ImageDestroy, then it will return also the suffix "-destroyed". * * \verbatim im.ImageCreate(width: number, height: number, color_space: number, data_type: number) -> image: imImage [in Lua 5] \endverbatim * \ingroup imgclass

extern (C) @safe nothrow
imImageCreate
(
int width
,
int height
,,)

Meta