Image generator API has been added. This fixes #28.