Skip to content

Commit

Permalink
Testing a sandbox example of GIMP.
Browse files Browse the repository at this point in the history
  • Loading branch information
sphillips-1 committed Apr 6, 2018
1 parent bf2c483 commit c8b272e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CreateURealmsTiles/CreateURealmsTiles.csproj
Expand Up @@ -52,6 +52,9 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="batch_Sandbox.py">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="batch_CreateURealmsTileImages.py">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down
3 changes: 2 additions & 1 deletion CreateURealmsTiles/Functions.cs
Expand Up @@ -142,7 +142,8 @@ static public void MakeImages(string gimpLocation, string file)
RedirectStandardInput = true,
UseShellExecute = false,
Verb = "runas",
Arguments = "gimp --as-new --verbose --no-interface -idf --batch-interpreter=python-fu-eval -b \"import sys; sys.path =['.'] + sys.path; import batch_CreateURealmsTileImages; batch_CreateURealmsTileImages.run('" + file + "')\" -b \"pdb.gimp_quit(1)\""
//Arguments = "gimp --as-new --verbose --no-interface -idf --batch-interpreter=python-fu-eval -b \"import sys; sys.path =['.'] + sys.path; import batch_CreateURealmsTileImages; batch_CreateURealmsTileImages.run('" + file + "')\" -b \"pdb.gimp_quit(1)\""
Arguments = "gimp --as-new --verbose --no-interface -idf --batch-interpreter=python-fu-eval -b \"import sys; sys.path =['.'] + sys.path; import batch_Sandbox; batch_Sandbox.run()\" -b \"pdb.gimp_quit(1)\""
};

Process.Start(startInfo);
Expand Down

0 comments on commit c8b272e

Please sign in to comment.