public static void cacheWritePicture(BufferedImage bufferImg, Sheet sheet, Workbook wb, int width, int height, int col1, int row1, int col2, int row2) throws Exception { ByteArrayOutputStream byteArrayOut = new ByteArrayOutputStream(); ImageIO.write(