import image into gpu memory