Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蒋波涛
/
tianditudownloader
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b5905b49
authored
2018-03-26 21:22:57 +0800
by
chiangbt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update3
1 parent
e47db889
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
.idea/workspace.xml
src/TiandituDownload.java
.idea/workspace.xml
View file @
b5905b4
This diff is collapsed.
Click to expand it.
src/TiandituDownload.java
View file @
b5905b4
...
...
@@ -147,7 +147,7 @@ public class TiandituDownload {
byte
[]
img2
=
getTile
(
url2
);
InputStream
img_stream2
=
new
ByteArrayInputStream
(
img2
);
BufferedImage
bImageFromConvert2
=
ImageIO
.
read
(
img_stream2
);
// 将两张图片拼凑为一张
Graphics
g
=
bImageFromConvert
.
getGraphics
();
g
.
drawImage
(
bImageFromConvert
,
0
,
0
,
null
);
g
.
drawImage
(
bImageFromConvert2
,
0
,
0
,
null
);
...
...
Please
register
or
sign in
to post a comment