Minimize object creations in NewImage