wip: arrayimg conversion