Skip to content
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

our experience installing on Windows 7 #26

Open
mapmeld opened this issue Jan 6, 2016 · 2 comments
Open

our experience installing on Windows 7 #26

mapmeld opened this issue Jan 6, 2016 · 2 comments

Comments

@mapmeld
Copy link

mapmeld commented Jan 6, 2016

we had to try!

Got Python, NumPy, GDAL, Python-GDAL, OpenCV 2.x, R all installed, and got Python script to start working (i.e. we had all import lines working)

Got error "unknown option -50" from GIMP exe, even when we gave it path to gimp-console-2.8.exe. -50 is maybe coming from the brightness setting.

Do you have ideas how we could fix the GIMP batch script to work in Windows CLI? It looks like we just need to put more quotes around it so it doesn't get confused with regular CLI options: http://superuser.com/questions/536654/windows-batch-processing-images-with-gimp-and-saving-them-to-new-files

@mgiraldo
Copy link
Contributor

hmmm... maybe GIMP for Windows has a different way of passing command line parameters. do you get a py-log.txt file?

@mgiraldo
Copy link
Contributor

i just pushed a refactored version of the code. maybe it fixes this. if it doesn't now the GIMP path is a parameter. try passing it with quotes.

eg: python vectorize_map.py --gimp-path "c:\path\to\gimp.exe" test.tif

@ghost ghost mentioned this issue Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants