aetros.backend.JobChannel

import aetros.backend.JobImage Class

Example

import aetros.backend job = aetros.backend.context() pil_image = PIL.Image.open(path) image = JobImage('my-unique-name-per-x', pil_image, label='optional label', pos=1) job.add_insight_image(x=1, image=image)

def __init__(name, pil_image, label=None, pos=None)

Constructor of JobImage.

ARGUMENTS
name An unique name for each insight x
pil_image An PIL image instance.
label Optional label. If not given name will be shown.
pos Per default images are not ordered. Use this to order the images per x.