convert image use batch