added actual imagelist to convert function