Implement DirectUtils::createImage(byte[],int,int)