Added fastimagecopyresampled