Skip to main content

system.kanoa.quality.image.addImage(chkItemId, imageName, imageType, imageDescription, image, thumbnail, userId)

Inserts an image into the qds.image table


Parameters

chkItemId Integer: Can be None
imageName String: Name of image
imageType String: Type of image
imageDescription String: Description of image
imageBytes byteArray: The image in byteArray format
thumbnail byteArray: Thumbnail of image in byteArray format
userId Integer:Id of the user executing the function


Returns

imageId Integer


Example