diff --git a/.travis.yml b/.travis.yml
index 76cf3fe..76dfe6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,9 +14,9 @@ before_script:
- git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mcoa/
- wget -N http://s3.amazonaws.com/MinecraftDownload/minecraft.jar -P ~/.minecraft/bin/
script:
- - python overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting
+ - python overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
notifications:
email: false
# matrix:
# allow_failures:
- # - python: "3.2"
\ No newline at end of file
+ # - python: "3.2"
diff --git a/contrib/png-it.py b/contrib/png-it.py
index fa3c393..3e62312 100644
--- a/contrib/png-it.py
+++ b/contrib/png-it.py
@@ -27,6 +27,9 @@ def main():
parser.add_option('--center', '-e', help = 'Mark what will be the center of the image, two percentage values comma separated',\
metavar = '
', type = str, dest = 'center', default = None)
+ parser.add_option('--autocrop', '-a', help = 'Calculates the center and crop vales automatically to show all the tiles in the minimun image size.Unless you want a very specific image this options is very recommendedable.',\
+ action = 'store_true', dest = 'autocrop', default = False)
+
parser.add_option('--output', '-o', help = 'Path for the resulting PNG. It will save it as PNG, no matter what extension do you use.',\
metavar = '