update3
Showing
2 changed files
with
1 additions
and
1 deletions
This diff is collapsed.
Click to expand it.
... | @@ -147,7 +147,7 @@ public class TiandituDownload { | ... | @@ -147,7 +147,7 @@ public class TiandituDownload { |
147 | byte[] img2 = getTile(url2); | 147 | byte[] img2 = getTile(url2); |
148 | InputStream img_stream2 = new ByteArrayInputStream(img2); | 148 | InputStream img_stream2 = new ByteArrayInputStream(img2); |
149 | BufferedImage bImageFromConvert2 = ImageIO.read(img_stream2); | 149 | BufferedImage bImageFromConvert2 = ImageIO.read(img_stream2); |
150 | 150 | // 将两张图片拼凑为一张 | |
151 | Graphics g = bImageFromConvert.getGraphics(); | 151 | Graphics g = bImageFromConvert.getGraphics(); |
152 | g.drawImage(bImageFromConvert, 0, 0, null); | 152 | g.drawImage(bImageFromConvert, 0, 0, null); |
153 | g.drawImage(bImageFromConvert2, 0, 0, null); | 153 | g.drawImage(bImageFromConvert2, 0, 0, null); | ... | ... |
-
Please register or sign in to post a comment