implemented new image backend