destImage = new BufferedImage(allwMax, allh, BufferedImage.TYPE_INT_RGB);
}
// 注释,分隔线从灰色变成纯黑...);
// g2.clearRect(0, 0, allw, allh);
// g2.setPaint(Color.RED);
// 合并所有子图片到新图片...imgs.get(i);
int w1 = img.getWidth();
int h1 = img.getHeight();
// 从图片中读取...new int[w1 * h1];
ImageArrayOne = img.getRGB(0, 0, w1, h1, ImageArrayOne, 0, w1); // 逐行扫描图像中各个像素的...RGB到数组中
if (isHorizontal) { // 水平方向合并
destImage.setRGB(wx, 0, w1, h1, ImageArrayOne