-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improper image header error #2
Comments
Possible reason for this error:
|
I've tested the examples in the README.md on my Ubuntu 16.04 server and they worked as expected. Do you use Docker? You can use Docker image like this: FROM alpine:edge
RUN apk add --no-cache bash imagemagick bc wget libpng-dev Or run these commands one by one: cd baidu-maps-download
docker run -it --rm -v="$PWD:/bmd" -w="/bmd" alpine:edge sh
apk add --no-cache bash imagemagick bc wget libpng-dev
bash center2pieces.sh 12616085.15, 2628677.18 15 web-alt 1000 1000 | xargs bash pieces2one.sh
exit
# now you should see the file done.png in the maps directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just running one of the examples. Am I missing something is the code broken?
The text was updated successfully, but these errors were encountered: