Better bufferedimage creation